Class FilterPipeSpecification<TContext>
- Namespace
- MassTransit.Configuration
- Assembly
- MassTransit.Abstractions.dll
Adds an arbitrary filter to the pipe
public class FilterPipeSpecification<TContext> : IPipeSpecification<TContext>, ISpecification where TContext : class, PipeContext
Type Parameters
TContext
- Inheritance
-
FilterPipeSpecification<TContext>
- Implements
-
IPipeSpecification<TContext>
- Inherited Members
- Extension Methods
Constructors
FilterPipeSpecification(IFilter<TContext>)
public FilterPipeSpecification(IFilter<TContext> filter)
Parameters
filter
IFilter<TContext>
Methods
Apply(IPipeBuilder<TContext>)
Apply the specification to the builder
public void Apply(IPipeBuilder<TContext> builder)
Parameters
builder
IPipeBuilder<TContext>The pipe builder
Validate()
Validate the specification, ensuring that a successful build will occur.
public IEnumerable<ValidationResult> Validate()