Class ProducerPipelineContext
The context that is passed along the producer behaviors pipeline.
Inheritance
System.Object
ProducerPipelineContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Broker.Behaviors
Assembly: Silverback.Integration.dll
Syntax
public class ProducerPipelineContext
Constructors
| Improve this doc View sourceProducerPipelineContext(IOutboundEnvelope, IProducer, IServiceProvider)
Initializes a new instance of the ProducerPipelineContext class.
Declaration
public ProducerPipelineContext(IOutboundEnvelope envelope, IProducer producer, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IOutboundEnvelope | envelope | The envelope containing the message to be produced. |
IProducer | producer | The IProducer that triggered this pipeline. |
System.IServiceProvider | serviceProvider | The System.IServiceProvider to be used to resolve the required services. |
Properties
| Improve this doc View sourceEnvelope
Gets or sets the envelope containing the message to be produced.
Declaration
public IOutboundEnvelope Envelope { get; set; }
Property Value
Type | Description |
---|---|
IOutboundEnvelope |
Producer
Gets the IProducer that triggered this pipeline.
Declaration
public IProducer Producer { get; }
Property Value
Type | Description |
---|---|
IProducer |
ServiceProvider
Gets or sets the System.IServiceProvider to be used to resolve the required services.
Declaration
public IServiceProvider ServiceProvider { get; set; }
Property Value
Type | Description |
---|---|
System.IServiceProvider |