CancellableGenericTinyMessage

StockSharp.Xaml.Charting.Common.Messaging

Basic "cancellable" generic message

Inherits: TinyMessageBase

Constructors

CancellableGenericTinyMessage
public CancellableGenericTinyMessage(object sender, TContent content, Action cancelAction)
cancellableGenericTinyMessage = CancellableGenericTinyMessage(sender, content, cancelAction)

Create a new instance of the CancellableGenericTinyMessage class.

sender
Message sender (usually "this")
content
Contents of the message
cancelAction
Action to call for cancellation

Properties

Cancel
public Action Cancel { get; protected set; }
value = cancellableGenericTinyMessage.Cancel
cancellableGenericTinyMessage.Cancel = value

Cancel action

Content
public TContent Content { get; protected set; }
value = cancellableGenericTinyMessage.Content
cancellableGenericTinyMessage.Content = value

Contents of the message