Class AlertTypeDefinition
Represents an alert type with related service agreement assignments and alert handlers.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AlertTypeDefinition : AlertType, IValidator, IExtensibleDataObject, IEquatable<AlertType>
Constructors
AlertTypeDefinition()
Instantiates an empty instance.
Declaration
public AlertTypeDefinition()
AlertTypeDefinition(AlertType)
Initilaizes new instance from provided alert type.
Declaration
public AlertTypeDefinition(AlertType alertType)
Parameters
Type | Name | Description |
---|---|---|
AlertType | alertType | Alert type to be initialized from. |
Properties
AlertHandlers
Gets collection of alert handlers assigned to the alert type.
Declaration
public Collection<AlertHandler> AlertHandlers { get; }
Property Value
Type | Description |
---|---|
Collection<AlertHandler> |
ChangeEntities
Gets collection of entity references related to this alert type.
Declaration
public Collection<ChangeEntityAlertType> ChangeEntities { get; }
Property Value
Type | Description |
---|---|
Collection<ChangeEntityAlertType> |
ChangeFolders
Gets collection of folder references related to this alert type.
Declaration
public Collection<ChangeFolderAlertType> ChangeFolders { get; }
Property Value
Type | Description |
---|---|
Collection<ChangeFolderAlertType> |
ServiceAgreements
Gets collection of service agreement references related to this alert type.
Declaration
public Collection<ServiceAgreementAlertType> ServiceAgreements { get; }
Property Value
Type | Description |
---|---|
Collection<ServiceAgreementAlertType> |
Methods
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |