C# Класс NServiceBus.ConnectorContextExtensions

Contains extensions methods to map behavior contexts.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateAuditContext ( this forkConnector, OutgoingMessage message, string auditAddress, IIncomingPhysicalMessageContext sourceContext ) : IAuditContext
CreateForwardingContext ( this forwardingContext, OutgoingMessage message, string forwardingAddress, IIncomingPhysicalMessageContext sourceContext ) : IForwardingContext

Описание методов

CreateAuditContext() публичный статический Метод

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
Результат IAuditContext

CreateBatchDispatchContext() публичный статический Метод

Creates a IBatchDispatchContext based on the current context.
public static CreateBatchDispatchContext ( this stageForkConnector, IReadOnlyCollection transportOperations, IIncomingPhysicalMessageContext sourceContext ) : IBatchDispatchContext
stageForkConnector this
transportOperations IReadOnlyCollection
sourceContext IIncomingPhysicalMessageContext
Результат IBatchDispatchContext

CreateDispatchContext() публичный статический Метод

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
Результат IDispatchContext

CreateDispatchContext() публичный статический Метод

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
Результат IDispatchContext

CreateForwardingContext() публичный статический Метод

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
Результат IForwardingContext

CreateIncomingLogicalMessageContext() публичный статический Метод

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
Результат IIncomingLogicalMessageContext

CreateIncomingPhysicalMessageContext() публичный статический Метод

Creates a IIncomingPhysicalMessageContext based on the current context.
public static CreateIncomingPhysicalMessageContext ( this stageForkConnector, IncomingMessage incomingMessage, ITransportReceiveContext sourceContext ) : IIncomingPhysicalMessageContext
stageForkConnector this
incomingMessage IncomingMessage
sourceContext ITransportReceiveContext
Результат IIncomingPhysicalMessageContext

CreateIncomingPhysicalMessageContext() публичный статический Метод

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
Результат IIncomingPhysicalMessageContext

CreateInvokeHandlerContext() публичный статический Метод

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
Результат IInvokeHandlerContext

CreateOutgoingLogicalMessageContext() публичный статический Метод

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
Результат IOutgoingLogicalMessageContext

CreateOutgoingLogicalMessageContext() публичный статический Метод

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
Результат IOutgoingLogicalMessageContext

CreateOutgoingLogicalMessageContext() публичный статический Метод

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
Результат IOutgoingLogicalMessageContext

CreateOutgoingPhysicalMessageContext() публичный статический Метод

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
Результат IOutgoingPhysicalMessageContext

CreateRoutingContext() публичный статический Метод

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
Результат IRoutingContext

CreateRoutingContext() публичный статический Метод

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
Результат IRoutingContext

CreateRoutingContext() публичный статический Метод

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
Результат IRoutingContext

CreateRoutingContext() публичный статический Метод

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
Результат IRoutingContext