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
typeAlertNotificationsAlert type.
externalIdlong?External ID.
logLevelLogLevelscaptionstringSignal header.
messagestringAlert text.
timeDateTimeOffsetCreation time.
cancellationTokenCancellationToken