Class AlertNotificationService
Alert notification service.
Namespace: StockSharp.Alerts
Assembly: StockSharp.Alerts.dll
Syntax
public class AlertNotificationService : Disposable, IAlertNotificationService, IDisposable
Constructors
AlertNotificationService(String)
Initializes a new instance of the AlertNotificationService.
Declaration
public AlertNotificationService(string dumpDir)
Parameters
Type | Name | Description |
---|---|---|
String | dumpDir | Temp files directory. |
Methods
DisposeManaged()
Release resources.
Declaration
protected override void DisposeManaged()
Notify(AlertNotifications, String, String, DateTimeOffset)
Add alert at the output.
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 | Alert text. |
DateTimeOffset | time | Creation time. |