Table of Contents

Class AsyncDelegatePipeSpecification<T>

Namespace
MassTransit.Configuration
Assembly
MassTransit.Abstractions.dll
public class AsyncDelegatePipeSpecification<T> : IPipeSpecification<T>, ISpecification where T : class, PipeContext

Type Parameters

T
Inheritance
AsyncDelegatePipeSpecification<T>
Implements
Inherited Members
Extension Methods

Constructors

AsyncDelegatePipeSpecification(Func<T, Task>)

public AsyncDelegatePipeSpecification(Func<T, Task> callback)

Parameters

callback Func<T, Task>

Methods

Apply(IPipeBuilder<T>)

Apply the specification to the builder

public void Apply(IPipeBuilder<T> builder)

Parameters

builder IPipeBuilder<T>

The pipe builder

Validate()

Validate the specification, ensuring that a successful build will occur.

public IEnumerable<ValidationResult> Validate()

Returns

IEnumerable<ValidationResult>