Unosquare
    Show / Hide Table of Contents

    Class MessageHubMessageBase

    Base class for messages that provides weak reference storage of the sender.

    Inheritance
    Object
    MessageHubMessageBase
    MessageHubGenericMessage<TContent>
    Implements
    IMessageHubMessage
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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

    Implements

    IMessageHubMessage

    Comments

    Back to top Copyright © 2017-2019 Unosquare