Click or drag to resize

BusinessEvent Class

Represents a single occurrence of a business logic event like AttributeChanged, TransactionCommit, DocumentStateChanged, etc.
Inheritance Hierarchy

Namespace:  Aloe.SystemFrameworks.Domain.BusinessLogic
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class BusinessEvent

The BusinessEvent type exposes the following members.

Constructors
  NameDescription
Public methodBusinessEvent
Initializes a new instance of the BusinessEvent class
Top
Properties
  NameDescription
Public propertyExtendedAttributes
Gets the extended attributes. They store temporary custom event handlers data in name/value format.
Public propertyValidationViolations
Gets the validation violations list.
Top
Methods
  NameDescription
Public methodGetEventAttributes
Gets the event specific attributes. For example for attribute change event this should be $OldValue, $NewValue etc. Event attributes always start with $.
Public methodGetEventAttributeValue
Gets the event attribute value.
Public methodGetViolationsMessage
Gets the concatenated messages of all violations.
Public methodThrowExceptionIfViolations
Checks for violations. If there are violations, throws an aggregate exception for all violations.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Remarks
Descendant classes of BusinessEvent represent different types of business events. If the matching of event masks by actual events requires additional parameters, descendants of both BusinessEventMaskTBusinessEvent and BusinessEvent might be required.
See Also