Class CommandAlertHandler
Implements alert handler that starts Windows process or execute command providing alert(s) details as arguments and/or in standard input.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Alerts
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class CommandAlertHandler : IAlertHandler
Constructors
CommandAlertHandler()
Declaration
public CommandAlertHandler()
Methods
ProcessAlerts(AlertHandler, IEnumerable<Alert>)
Processes alerts accumulated since last execution.
Declaration
public bool ProcessAlerts(AlertHandler handler, IEnumerable<Alert> alerts)
Parameters
Type | Name | Description |
---|---|---|
AlertHandler | handler | Configuration of the handler being executed. |
IEnumerable<Alert> | alerts | Collection of alerts accumulated since last execution. |
Returns
Type | Description |
---|---|
Boolean | True, if at least one alert has been provided. False, otherwise. |