Class SendPipeSpecification
- Namespace
- MassTransit.Configuration
- Assembly
- MassTransit.Abstractions.dll
public class SendPipeSpecification : ISendPipeConfigurator, IPipeConfigurator<SendContext>, ISendPipeSpecification, ISendPipeSpecificationObserverConnector, ISpecification
- Inheritance
-
SendPipeSpecification
- Implements
- Inherited Members
- Extension Methods
Constructors
SendPipeSpecification()
public SendPipeSpecification()
Methods
AddPipeSpecification(IPipeSpecification<SendContext>)
Adds a pipe specification to the pipe configurator at the end of the chain
public void AddPipeSpecification(IPipeSpecification<SendContext> specification)
Parameters
specification
IPipeSpecification<SendContext>The pipe specification to add
ConnectSendPipeSpecificationObserver(ISendPipeSpecificationObserver)
public ConnectHandle ConnectSendPipeSpecificationObserver(ISendPipeSpecificationObserver observer)
Parameters
observer
ISendPipeSpecificationObserver
Returns
GetMessageSpecification<T>()
Returns the specification for the message type
public IMessageSendPipeSpecification<T> GetMessageSpecification<T>() where T : class
Returns
Type Parameters
T
The message type
Validate()
Validate the specification, ensuring that a successful build will occur.
public IEnumerable<ValidationResult> Validate()