namespace StockSharp.Alerts; /// /// Defines an alert processing service. /// public interface IAlertProcessingService : IPersistable, ILogSource { /// /// All schemas. /// IEnumerable Schemas { get; } /// /// Schema registration event. /// event Action Registered; /// /// Schema unregistering event. /// event Action UnRegistered; /// /// Register schema. /// /// Schema. void Register(AlertSchema schema); /// /// Remove previously registered by schema. /// /// Schema. void UnRegister(AlertSchema schema); /// /// Check message on alert conditions. /// /// Message. void Process(Message message); /// /// Find schema by the specified identifier. /// /// The identifier. /// Found schema. if schema with the specified identifier doesn't exist. AlertSchema FindSchema(Guid id); }