Class ProcessNotifier
Provides methods to set up notification events.
Inheritance
System.Object
ProcessNotifier
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: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class ProcessNotifier : IProcessNotifier
Constructors
ProcessNotifier(UserConnection)
Creates a new instance with specified user connection.
Declaration
public ProcessNotifier(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
Methods
Cancel(Guid)
Canceles the publisched notification event.
Declaration
public void Cancel(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Identifier of the process element. |
Publish(ProcessElementNotification)
Publishes the specified notificarion event.
Declaration
public void Publish(ProcessElementNotification notification)
Parameters
Type | Name | Description |
---|---|---|
ProcessElementNotification | notification | Notification data. |
Update(ProcessElementNotification)
Declaration
public void Update(ProcessElementNotification notification)
Parameters
Type | Name | Description |
---|---|---|
ProcessElementNotification | notification |