Class StrategyNotificationEventArgs
- Namespace
- ATAS.Strategies
- Assembly
- ATAS.Strategies.dll
Provides data for the StrategyNotification event.
public sealed class StrategyNotificationEventArgs : EventArgs
- Inheritance
-
objectEventArgsStrategyNotificationEventArgs
- Extension Methods
Constructors
StrategyNotificationEventArgs(IStrategy, string, string, bool)
Initializes a new instance of the StrategyNotificationEventArgs class with the specified strategy, message, title, and error status.
Added in ATAS 8.0.15.
public StrategyNotificationEventArgs(IStrategy strategy, string message, string title, bool isError)
Parameters
strategyIStrategyThe strategy associated with the notification.
messagestringThe message of the notification.
titlestringThe title of the notification.
isErrorboolA value indicating whether the notification is an error.
Properties
IsError
Gets a value indicating whether the notification is an error.
public bool IsError { get; }
Property Value
- bool
Message
Gets the message of the notification.
Added in ATAS 8.0.15.
public string Message { get; }
Property Value
- string
Strategy
Gets the strategy associated with the notification.
Added in ATAS 8.0.15.
public IStrategy Strategy { get; }
Property Value
Title
Gets the title of the notification.
Added in ATAS 8.0.15.
public string Title { get; }
Property Value
- string