Method WithFlush
| Improve this Doc View SourceWithFlush(Scalar, Func<T, Boolean>)
Setup the flushing operation.
Declaration
public ScalarInput<T> WithFlush(Scalar scalar, Func<T, bool> flush)
Parameters
Type | Name | Description |
---|---|---|
Scalar | scalar | The scalar data. |
System.Func<T, System.Boolean> | flush | The delegate to flush input. |
Returns
Type | Description |
---|---|
ScalarInput<T> | This scalar input for fluent coding. |
WithFlush<TData>(Scalar<TData>, Func<T, TData>)
Setup the flushing operation.
Declaration
public ScalarInput<T> WithFlush<TData>(Scalar<TData> scalar, Func<T, TData> getValue)
Parameters
Type | Name | Description |
---|---|---|
Scalar<TData> | scalar | The scalar data. |
System.Func<T, TData> | getValue | The delegate to return data value. |
Returns
Type | Description |
---|---|
ScalarInput<T> | This scalar input for fluent coding. |
Type Parameters
Name | Description |
---|---|
TData | Data type of scalar data. |