Table of Contents

Class StrategyNotificationEventArgs

Namespace
ATAS.Strategies
Assembly
ATAS.Strategies.dll

Provides data for the StrategyNotification event.

public sealed class StrategyNotificationEventArgs : EventArgs
Inheritance
object
EventArgs
StrategyNotificationEventArgs
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

strategy IStrategy

The strategy associated with the notification.

message string

The message of the notification.

title string

The title of the notification.

isError bool

A 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

IStrategy

Title

Gets the title of the notification.

Added in ATAS 8.0.15.

public string Title { get; }

Property Value

string