Class ChangeFolderAlertType
Represents a link to alert type that needs to be generated, if entities under the specified folder have been changed.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ChangeFolderAlertType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<ChangeFolderAlertType>
Constructors
ChangeFolderAlertType()
Declaration
public ChangeFolderAlertType()
Properties
AlertTypeId
Gets or sets the identifier of alert type that needs to be generated.
Declaration
public int AlertTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ChangeTypes
Gets or set the monitored change types.
Declaration
public ChangeTypes ChangeTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| ChangeTypes |
EntityTypes
Gets collection containing the monitored entity's types. If collection is empty then all entities are monitored.
Declaration
public Collection<EntityType> EntityTypes { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.ObjectModel.Collection<EntityType> |
FolderId
Gets or sets the identifier of the folder that needs to be monitored.
Declaration
public int? FolderId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
| Type | Description |
|---|---|
| EntityType |
Overrides
Methods
Equals(ChangeFolderAlertType)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(ChangeFolderAlertType other)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeFolderAlertType | other | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | Hash code of the current instance. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if state is valid; otherwise, false. |