AlertProcessingService

StockSharp.Alerts

Alert processing service.

Inherits: BaseLogReceiver

Implements: IAlertProcessingService, IPersistable, ILogSource, IDisposable

Constructors

AlertProcessingService
public AlertProcessingService(int maxQueue)
alertProcessingService = AlertProcessingService(maxQueue)

Initializes a new instance of the AlertProcessingService.

maxQueue
Max queue for process.

Properties

Schemas
public IEnumerable<AlertSchema> Schemas { get; }
value = alertProcessingService.Schemas

All schemas.

Methods

DisposeManaged
protected override void DisposeManaged()
alertProcessingService.DisposeManaged()

Disposes the managed resources. Override this method to add custom clean up of managed resources.

Register
public void Register(AlertSchema schema)
alertProcessingService.Register(schema)

Register schema.

schema
Schema.

Events

Registered
public event Action<AlertSchema> Registered
alertProcessingService.Registered += handler

Schema registration event.

UnRegistered
public event Action<AlertSchema> UnRegistered
alertProcessingService.UnRegistered += handler

Schema unregistering event.