Summer.Batch.Data.Parameter.PlaceholderGetter Class Reference
Default implementation of IPlaceholderGetter. More...
Inheritance diagram for Summer.Batch.Data.Parameter.PlaceholderGetter:
Public Member Functions | |
PlaceholderGetter (Func< string, string > placeholderGetter, bool named) | |
Constructs a new PlaceholderGetter. More... | |
string | GetPlaceholder (string name) |
Gets the correct placeholder for a query parameter. More... | |
Properties | |
bool | Named [get] |
Whether the placeholders provided by this IPlaceholderGetter are named. If false , they are position-based. More... | |
Properties inherited from Summer.Batch.Data.Parameter.IPlaceholderGetter | |
bool | Named [get] |
Whether the placeholders provided by this IPlaceholderGetter are named. If false , they are position-based. More... | |
Detailed Description
Default implementation of IPlaceholderGetter.
Constructor & Destructor Documentation
Summer.Batch.Data.Parameter.PlaceholderGetter.PlaceholderGetter | ( | Func< string, string > | placeholderGetter, |
bool | named | ||
) |
Constructs a new PlaceholderGetter.
- Parameters
-
placeholderGetter a function that takes a parameter name and return its placeholder named whether the new PlaceholderGetter is named
Member Function Documentation
string Summer.Batch.Data.Parameter.PlaceholderGetter.GetPlaceholder | ( | string | name | ) |
Gets the correct placeholder for a query parameter.
- Parameters
-
name the name of the parameter
- Returns
- the corresponding parameter placeholder
Implements Summer.Batch.Data.Parameter.IPlaceholderGetter.
Property Documentation
|
get |
Whether the placeholders provided by this IPlaceholderGetter are named. If false
, they are position-based.
The documentation for this class was generated from the following file:
- Summer.Batch.Data/Parameter/PlaceholderGetter.cs