Click or drag to resize

BusinessEventMaskTBusinessEvent Class

Represents a business event mask, which can match events of the specified event type.
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.Domain.BusinessLogicBusinessEventMaskTBusinessEvent
    Aloe.EnterpriseOne.Model.GeneralDocumentStateChangeEventMask

Namespace:  Aloe.SystemFrameworks.Domain.BusinessLogic
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class BusinessEventMask<TBusinessEvent> : IBusinessEventMask
where TBusinessEvent : BusinessEvent

Type Parameters

TBusinessEvent

The BusinessEventMaskTBusinessEvent type exposes the following members.

Constructors
  NameDescription
Public methodBusinessEventMaskTBusinessEvent
Initializes a new instance of the BusinessEventMaskTBusinessEvent class
Top
Methods
  NameDescription
Public methodIsMatchedBy
Determines whether the current event mask is matched by the specified actual event.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Remarks

The BusinessEventMaskTBusinessEvent class is used to represent an event mask. The event masks are used in BusinessEventHandler to match the registration of a BusinessRule to an actual BusinessEvent.

The matching of an event to event mask is done through a call to IsMatchedBy(BusinessEvent). The default implementation simply determines whether the actual event is of the type, supported by the mask. Descendant classes of BusinessEventMaskTBusinessEvent can perform more complicated matching algorithms (usually based on additional event and event mask parameters).

See Also