C# Class NServiceBus.ConnectorContextExtensions

Contains extensions methods to map behavior contexts.
Afficher le fichier Open project: Particular/NServiceBus

Méthodes publiques

Méthode Description
CreateAuditContext ( IAuditContext>.this forkConnector, OutgoingMessage message, string auditAddress, IIncomingPhysicalMessageContext sourceContext ) : IAuditContext

Creates a IAuditContext based on the current context.

CreateBatchDispatchContext ( this stageForkConnector, IReadOnlyCollection transportOperations, IIncomingPhysicalMessageContext sourceContext ) : IBatchDispatchContext

Creates a IBatchDispatchContext based on the current context.

CreateDispatchContext ( IDispatchContext>.this stageConnector, IReadOnlyCollection transportOperations, IBatchDispatchContext sourceContext ) : IDispatchContext

Creates a IDispatchContext based on the current context.

CreateDispatchContext ( IDispatchContext>.this stageConnector, IReadOnlyCollection transportOperations, IRoutingContext sourceContext ) : IDispatchContext

Creates a IDispatchContext based on the current context.

CreateForwardingContext ( IForwardingContext>.this forwardingContext, OutgoingMessage message, string forwardingAddress, IIncomingPhysicalMessageContext sourceContext ) : IForwardingContext

Creates a IForwardingContext based on the current context.

CreateIncomingLogicalMessageContext ( IIncomingLogicalMessageContext>.this stageConnector, LogicalMessage logicalMessage, IIncomingPhysicalMessageContext sourceContext ) : IIncomingLogicalMessageContext

Creates a IIncomingLogicalMessageContext based on the current context.

CreateIncomingPhysicalMessageContext ( this stageForkConnector, IncomingMessage incomingMessage, ITransportReceiveContext sourceContext ) : IIncomingPhysicalMessageContext

Creates a IIncomingPhysicalMessageContext based on the current context.

CreateIncomingPhysicalMessageContext ( IIncomingPhysicalMessageContext>.this stageConnector, IncomingMessage incomingMessage, ITransportReceiveContext sourceContext ) : IIncomingPhysicalMessageContext

Creates a IIncomingPhysicalMessageContext based on the current context.

CreateInvokeHandlerContext ( IInvokeHandlerContext>.this stageConnector, MessageHandler messageHandler, CompletableSynchronizedStorageSession storageSession, IIncomingLogicalMessageContext sourceContext ) : IInvokeHandlerContext

Creates a IInvokeHandlerContext based on the current context.

CreateOutgoingLogicalMessageContext ( IOutgoingLogicalMessageContext>.this stageConnector, OutgoingLogicalMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingPublishContext sourceContext ) : IOutgoingLogicalMessageContext

Creates a IOutgoingLogicalMessageContext based on the current context.

CreateOutgoingLogicalMessageContext ( IOutgoingLogicalMessageContext>.this stageConnector, OutgoingLogicalMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingReplyContext sourceContext ) : IOutgoingLogicalMessageContext

Creates a IOutgoingLogicalMessageContext based on the current context.

CreateOutgoingLogicalMessageContext ( IOutgoingLogicalMessageContext>.this stageConnector, OutgoingLogicalMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingSendContext sourceContext ) : IOutgoingLogicalMessageContext

Creates a IOutgoingLogicalMessageContext based on the current context.

CreateOutgoingPhysicalMessageContext ( IOutgoingPhysicalMessageContext>.this stageConnector, byte messageBody, IReadOnlyCollection routingStrategies, IOutgoingLogicalMessageContext sourceContext ) : IOutgoingPhysicalMessageContext

Creates a IOutgoingPhysicalMessageContext based on the current context.

CreateRoutingContext ( IRoutingContext>.this stageConnector, OutgoingMessage outgoingMessage, RoutingStrategy routingStrategy, IAuditContext sourceContext ) : IRoutingContext

Creates a IRoutingContext based on the current context.

CreateRoutingContext ( IRoutingContext>.this stageConnector, OutgoingMessage outgoingMessage, RoutingStrategy routingStrategy, IForwardingContext sourceContext ) : IRoutingContext

Creates a IRoutingContext based on the current context.

CreateRoutingContext ( IRoutingContext>.this stageConnector, OutgoingMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingPhysicalMessageContext sourceContext ) : IRoutingContext

Creates a IRoutingContext based on the current context.

CreateRoutingContext ( IRoutingContext>.this forkConnector, OutgoingMessage outgoingMessage, string localAddress, ITransportReceiveContext sourceContext ) : IRoutingContext

Creates a IRoutingContext based on the current context.

Private Methods

Méthode Description
CreateAuditContext ( this forkConnector, OutgoingMessage message, string auditAddress, IIncomingPhysicalMessageContext sourceContext ) : IAuditContext
CreateForwardingContext ( this forwardingContext, OutgoingMessage message, string forwardingAddress, IIncomingPhysicalMessageContext sourceContext ) : IForwardingContext

Method Details

CreateAuditContext() public static méthode

Creates a IAuditContext based on the current context.
public static CreateAuditContext ( IAuditContext>.this forkConnector, OutgoingMessage message, string auditAddress, IIncomingPhysicalMessageContext sourceContext ) : IAuditContext
forkConnector IAuditContext>.this
message OutgoingMessage
auditAddress string
sourceContext IIncomingPhysicalMessageContext
Résultat IAuditContext

CreateBatchDispatchContext() public static méthode

Creates a IBatchDispatchContext based on the current context.
public static CreateBatchDispatchContext ( this stageForkConnector, IReadOnlyCollection transportOperations, IIncomingPhysicalMessageContext sourceContext ) : IBatchDispatchContext
stageForkConnector this
transportOperations IReadOnlyCollection
sourceContext IIncomingPhysicalMessageContext
Résultat IBatchDispatchContext

CreateDispatchContext() public static méthode

Creates a IDispatchContext based on the current context.
public static CreateDispatchContext ( IDispatchContext>.this stageConnector, IReadOnlyCollection transportOperations, IBatchDispatchContext sourceContext ) : IDispatchContext
stageConnector IDispatchContext>.this
transportOperations IReadOnlyCollection
sourceContext IBatchDispatchContext
Résultat IDispatchContext

CreateDispatchContext() public static méthode

Creates a IDispatchContext based on the current context.
public static CreateDispatchContext ( IDispatchContext>.this stageConnector, IReadOnlyCollection transportOperations, IRoutingContext sourceContext ) : IDispatchContext
stageConnector IDispatchContext>.this
transportOperations IReadOnlyCollection
sourceContext IRoutingContext
Résultat IDispatchContext

CreateForwardingContext() public static méthode

Creates a IForwardingContext based on the current context.
public static CreateForwardingContext ( IForwardingContext>.this forwardingContext, OutgoingMessage message, string forwardingAddress, IIncomingPhysicalMessageContext sourceContext ) : IForwardingContext
forwardingContext IForwardingContext>.this
message OutgoingMessage
forwardingAddress string
sourceContext IIncomingPhysicalMessageContext
Résultat IForwardingContext

CreateIncomingLogicalMessageContext() public static méthode

Creates a IIncomingLogicalMessageContext based on the current context.
public static CreateIncomingLogicalMessageContext ( IIncomingLogicalMessageContext>.this stageConnector, LogicalMessage logicalMessage, IIncomingPhysicalMessageContext sourceContext ) : IIncomingLogicalMessageContext
stageConnector IIncomingLogicalMessageContext>.this
logicalMessage LogicalMessage
sourceContext IIncomingPhysicalMessageContext
Résultat IIncomingLogicalMessageContext

CreateIncomingPhysicalMessageContext() public static méthode

Creates a IIncomingPhysicalMessageContext based on the current context.
public static CreateIncomingPhysicalMessageContext ( this stageForkConnector, IncomingMessage incomingMessage, ITransportReceiveContext sourceContext ) : IIncomingPhysicalMessageContext
stageForkConnector this
incomingMessage IncomingMessage
sourceContext ITransportReceiveContext
Résultat IIncomingPhysicalMessageContext

CreateIncomingPhysicalMessageContext() public static méthode

Creates a IIncomingPhysicalMessageContext based on the current context.
public static CreateIncomingPhysicalMessageContext ( IIncomingPhysicalMessageContext>.this stageConnector, IncomingMessage incomingMessage, ITransportReceiveContext sourceContext ) : IIncomingPhysicalMessageContext
stageConnector IIncomingPhysicalMessageContext>.this
incomingMessage IncomingMessage
sourceContext ITransportReceiveContext
Résultat IIncomingPhysicalMessageContext

CreateInvokeHandlerContext() public static méthode

Creates a IInvokeHandlerContext based on the current context.
public static CreateInvokeHandlerContext ( IInvokeHandlerContext>.this stageConnector, MessageHandler messageHandler, CompletableSynchronizedStorageSession storageSession, IIncomingLogicalMessageContext sourceContext ) : IInvokeHandlerContext
stageConnector IInvokeHandlerContext>.this
messageHandler MessageHandler
storageSession CompletableSynchronizedStorageSession
sourceContext IIncomingLogicalMessageContext
Résultat IInvokeHandlerContext

CreateOutgoingLogicalMessageContext() public static méthode

Creates a IOutgoingLogicalMessageContext based on the current context.
public static CreateOutgoingLogicalMessageContext ( IOutgoingLogicalMessageContext>.this stageConnector, OutgoingLogicalMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingPublishContext sourceContext ) : IOutgoingLogicalMessageContext
stageConnector IOutgoingLogicalMessageContext>.this
outgoingMessage OutgoingLogicalMessage
routingStrategies IReadOnlyCollection
sourceContext IOutgoingPublishContext
Résultat IOutgoingLogicalMessageContext

CreateOutgoingLogicalMessageContext() public static méthode

Creates a IOutgoingLogicalMessageContext based on the current context.
public static CreateOutgoingLogicalMessageContext ( IOutgoingLogicalMessageContext>.this stageConnector, OutgoingLogicalMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingReplyContext sourceContext ) : IOutgoingLogicalMessageContext
stageConnector IOutgoingLogicalMessageContext>.this
outgoingMessage OutgoingLogicalMessage
routingStrategies IReadOnlyCollection
sourceContext IOutgoingReplyContext
Résultat IOutgoingLogicalMessageContext

CreateOutgoingLogicalMessageContext() public static méthode

Creates a IOutgoingLogicalMessageContext based on the current context.
public static CreateOutgoingLogicalMessageContext ( IOutgoingLogicalMessageContext>.this stageConnector, OutgoingLogicalMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingSendContext sourceContext ) : IOutgoingLogicalMessageContext
stageConnector IOutgoingLogicalMessageContext>.this
outgoingMessage OutgoingLogicalMessage
routingStrategies IReadOnlyCollection
sourceContext IOutgoingSendContext
Résultat IOutgoingLogicalMessageContext

CreateOutgoingPhysicalMessageContext() public static méthode

Creates a IOutgoingPhysicalMessageContext based on the current context.
public static CreateOutgoingPhysicalMessageContext ( IOutgoingPhysicalMessageContext>.this stageConnector, byte messageBody, IReadOnlyCollection routingStrategies, IOutgoingLogicalMessageContext sourceContext ) : IOutgoingPhysicalMessageContext
stageConnector IOutgoingPhysicalMessageContext>.this
messageBody byte
routingStrategies IReadOnlyCollection
sourceContext IOutgoingLogicalMessageContext
Résultat IOutgoingPhysicalMessageContext

CreateRoutingContext() public static méthode

Creates a IRoutingContext based on the current context.
public static CreateRoutingContext ( IRoutingContext>.this stageConnector, OutgoingMessage outgoingMessage, RoutingStrategy routingStrategy, IAuditContext sourceContext ) : IRoutingContext
stageConnector IRoutingContext>.this
outgoingMessage OutgoingMessage
routingStrategy RoutingStrategy
sourceContext IAuditContext
Résultat IRoutingContext

CreateRoutingContext() public static méthode

Creates a IRoutingContext based on the current context.
public static CreateRoutingContext ( IRoutingContext>.this stageConnector, OutgoingMessage outgoingMessage, RoutingStrategy routingStrategy, IForwardingContext sourceContext ) : IRoutingContext
stageConnector IRoutingContext>.this
outgoingMessage OutgoingMessage
routingStrategy RoutingStrategy
sourceContext IForwardingContext
Résultat IRoutingContext

CreateRoutingContext() public static méthode

Creates a IRoutingContext based on the current context.
public static CreateRoutingContext ( IRoutingContext>.this stageConnector, OutgoingMessage outgoingMessage, IReadOnlyCollection routingStrategies, IOutgoingPhysicalMessageContext sourceContext ) : IRoutingContext
stageConnector IRoutingContext>.this
outgoingMessage OutgoingMessage
routingStrategies IReadOnlyCollection
sourceContext IOutgoingPhysicalMessageContext
Résultat IRoutingContext

CreateRoutingContext() public static méthode

Creates a IRoutingContext based on the current context.
public static CreateRoutingContext ( IRoutingContext>.this forkConnector, OutgoingMessage outgoingMessage, string localAddress, ITransportReceiveContext sourceContext ) : IRoutingContext
forkConnector IRoutingContext>.this
outgoingMessage OutgoingMessage
localAddress string
sourceContext ITransportReceiveContext
Résultat IRoutingContext