Class MessageHubMessageBase
Base class for messages that provides weak reference storage of the sender.
Implements
Inherited Members
Namespace: Swan.Messaging
Syntax
public abstract class MessageHubMessageBase : IMessageHubMessage
Constructors
MessageHubMessageBase(Object)
Initializes a new instance of the MessageHubMessageBase class.
Declaration
protected MessageHubMessageBase(object sender)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | The sender. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | sender. |
Properties
Sender
The sender of the message, or null if not supported by the message implementation.
Declaration
public object Sender { get; }
Property Value
Type | Description |
---|---|
Object |