Click or drag to resize

ActionBusinessRuleTObject Class

Represents a business rule, whose condition and action are provided as expressions.
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.Domain.BusinessLogicBusinessRule
    Aloe.SystemFrameworks.Domain.BusinessLogicActionBusinessRuleTObject

Namespace:  Aloe.SystemFrameworks.Domain.BusinessLogic
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class ActionBusinessRule<TObject> : BusinessRule
where TObject : EditableDomainObject

Type Parameters

TObject

The ActionBusinessRuleTObject type exposes the following members.

Constructors
  NameDescription
Public methodActionBusinessRuleTObject
Initializes a new instance of the ActionBusinessRuleTObject class.
Top
Properties
  NameDescription
Public propertyAction
Gets the action.
Public propertyCode
Gets the unique rule code.
(Inherited from BusinessRule.)
Public propertyCondition
Gets the condition.
Public propertyDefaultExecutionPriority
Gets the default execution priority of the rule. It is used when priority is not specified when registering the rule for events.
(Inherited from BusinessRule.)
Public propertyExecuteForDeletedObject
Gets a value indicating whether to execute the rule for deleted object. The default is false. Inheritors can override it.
(Inherited from BusinessRule.)
Public propertyLocalizedName
Gets the localized name of the rule.
(Inherited from BusinessRule.)
Public propertyName
Gets the rule name.
(Overrides BusinessRuleName.)
Top
Methods
  NameDescription
Public methodExecute
Executes the business rule on the specified object.
(Inherited from BusinessRule.)
Public methodExecuteCore
Executes the business rule on the specified object.
(Overrides BusinessRuleExecuteCore(DomainObject, BusinessEvent).)
Public methodOnRegistration
Called upon registration of the business rule in a repository.
(Inherited from BusinessRule.)
Public methodToString
Returns a String that represents this instance.
(Inherited from BusinessRule.)
Top
See Also