Interface IAlertNotificationService
- Namespace
- StockSharp.Alerts
- Assembly
- StockSharp.Alerts.Interfaces.dll
Defines an alert notification service.
public interface IAlertNotificationService : ILogSource, IDisposable
- Inherited Members
- Extension Methods
Methods
NotifyAsync(AlertNotifications, long?, LogLevels, string, string, DateTimeOffset, CancellationToken)
Add alert at the output.
ValueTask NotifyAsync(AlertNotifications type, long? externalId, LogLevels logLevel, string caption, string message, DateTimeOffset time, CancellationToken cancellationToken)
Parameters
type
AlertNotificationsAlert type.
externalId
long?External ID.
logLevel
LogLevelscaption
stringSignal header.
message
stringAlert text.
time
DateTimeOffsetCreation time.
cancellationToken
CancellationToken