Class MessagingContextExtensions
Extension methods for IMessagingContext.
Inheritance
System.Object
MessagingContextExtensions
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: Kephas.Messaging.Distributed
Assembly: Kephas.Messaging.dll
Syntax
public static class MessagingContextExtensions
Methods
| Improve this Doc View SourceGetBrokeredMessage(IMessagingContext)
Gets the brokered message.
Declaration
public static IBrokeredMessage GetBrokeredMessage(this IMessagingContext processingContext)
Parameters
Type | Name | Description |
---|---|---|
IMessagingContext | processingContext | The processing context to act on. |
Returns
Type | Description |
---|---|
IBrokeredMessage | The brokered message. |
SetBrokeredMessage(IMessagingContext, IBrokeredMessage)
Sets the brokered message.
Declaration
public static void SetBrokeredMessage(this IMessagingContext processingContext, IBrokeredMessage value)
Parameters
Type | Name | Description |
---|---|---|
IMessagingContext | processingContext | The processing context to act on. |
IBrokeredMessage | value | The value. |