Title here
Summary here
The WhereTransformation allows you to filter out rows where a defined predicate is false. By default the WhereTransformation will filter out null values.
public class WhereTransformation<TInput> : DataFlowTransformation<TInput, TInput>, IDataFlowTransformation<TInput, TInput>, IDataFlowSource<TInput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask| Name | Description |
|---|---|
| TInput | The type of ingoing data. |
public WhereTransformation() public WhereTransformation(Predicate<TInput> predicate)| Type | Name | Description |
|---|---|---|
| Predicate<TInput> | predicate |
Numbers of rows that were filtered out.
public int FilteredCount { get; }| Type | Description |
|---|---|
| int |
Numbers of rows that were kept.
public int PassedCount { get; }| Type | Description |
|---|---|
| int |
The predicate returns true for rows that should be kept. The default implementation of the predicate will filter out null values.
public Predicate<TInput> Predicate { get; set; }| Type | Description |
|---|---|
| Predicate<TInput> |
SourceBlock from the underlying TPL.Dataflow which is used as output buffer for the component.
public override ISourceBlock<TInput> SourceBlock { get; }| Type | Description |
|---|---|
| ISourceBlock<TInput> |
TargetBlock from the underlying TPL.Dataflow which is used as input buffer for the component.
public override ITargetBlock<TInput> TargetBlock { get; }| Type | Description |
|---|---|
| ITargetBlock<TInput> |
protected override void CheckParameter() protected override void CleanUpOnFaulted(Exception e)| Type | Name | Description |
|---|---|---|
| Exception | e |
protected override void CleanUpOnSuccess() protected override void InitComponent() protected override void Reset()