Table of Contents

Class DelegatePipeSpecification<T>

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

Type Parameters

T
Inheritance
DelegatePipeSpecification<T>
Implements
Inherited Members
Extension Methods

Constructors

DelegatePipeSpecification(Action<T>)

public DelegatePipeSpecification(Action<T> callback)

Parameters

callback Action<T>

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>