Class PublishSendPipeAdapter<T>
- Namespace
- MassTransit.Transports
- Assembly
- MassTransit.Abstractions.dll
public class PublishSendPipeAdapter<T> : IPipe<SendContext<T>>, IProbeSite where T : class
Type Parameters
T
- Inheritance
-
PublishSendPipeAdapter<T>
- Implements
-
IPipe<SendContext<T>>
- Inherited Members
- Extension Methods
Constructors
PublishSendPipeAdapter(IPipe<PublishContext<T>>)
public PublishSendPipeAdapter(IPipe<PublishContext<T>> pipe)
Parameters
pipe
IPipe<PublishContext<T>>
Methods
Send(SendContext<T>)
The base primitive, Send delivers the pipe context of T to the pipe.
public Task Send(SendContext<T> context)
Parameters
context
SendContext<T>The pipe context of type T
Returns
- Task
A task which is completed once the pipe has processed the context