Class AlertNotificationService
Сервис оповещения событий.
Namespace: StockSharp.Alerts
Assembly: StockSharp.Alerts.dll
Syntax
public class AlertNotificationService : Disposable, IAlertNotificationService, IDisposable
Constructors
AlertNotificationService(String)
Создать AlertNotificationService.
Declaration
public AlertNotificationService(string dumpDir)
Parameters
Type | Name | Description |
---|---|---|
String | dumpDir | Директория, куда сервис будет сохранять временные файлы. |
Methods
DisposeManaged()
Освободить занятые ресурсы.
Declaration
protected override void DisposeManaged()
Notify(AlertNotifications, String, String, DateTimeOffset)
Добавить сигнал на вывод.
Declaration
public void Notify(AlertNotifications type, string caption, string message, DateTimeOffset time)
Parameters
Type | Name | Description |
---|---|---|
AlertNotifications | type | Alert type. |
String | caption | Signal header. |
String | message | Текст сигнала. |
DateTimeOffset | time | Время формирования. |