Class SmtpAlertHandler
Implements alert handler which sends information about alert or group of alerts in e-mail message.
Inheritance
System.Object
SmtpAlertHandler
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nevatech.Vsb.Repository.Alerts
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class SmtpAlertHandler : IAlertHandler
Constructors
SmtpAlertHandler()
Declaration
public SmtpAlertHandler()
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. |
System.Collections.Generic.IEnumerable<Alert> | alerts | Collection of alerts accumulated since last execution. |
Returns
Type | Description |
---|---|
System.Boolean | True, if at least one alert has been provided. False, otherwise. |