Class FilterDefinition

Assembly: redb.Route.dll

Scope-opener definition for the Filter EIP.
When is called, compiles all child
into an inner pipeline wrapped by a .
Close the scope with .

Inherits the entire fluent leaf-DSL from
with TSelf = ; calls like
To(...), Process(...), SetBody(...) therefore return
directly without locally-redeclared overloads.

public class FilterDefinition : RouteDefinitionBase<FilterDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope, ICompositeScope, IConditionSource

Inheritance

Implements

Derived

Inherited Members

Properties

SourceExpression

The expression instance the condition was built from; null if there is none.

public IExpression? SourceExpression { get; }

SourcePredicate

The predicate the condition was built from, or built into; null if there is none.

public IPredicate? SourcePredicate { get; }

SourceTemplate

The condition string as the author wrote it; null if the condition was not written as a string.

public string? SourceTemplate { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

End()

Closes this scope and returns the parent .

public IRouteDefinition End()

EndFilter()

Closes this filter scope and returns the parent route definition.

public IRouteDefinition EndFilter()