Click or drag to resize

ConditionalBusinessRule Constructor (FuncRepository, IBusinessRule, IBusinessEventMask, NullableRuleExecutionPriority, Boolean)

Initializes a new instance of the ConditionalBusinessRule class providing a function to determine if the rule should be registered for a specific repository.

Namespace:  Aloe.EnterpriseOne.Model.Core
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public ConditionalBusinessRule(
	Func<Repository, IBusinessRule> getRepositoryRule,
	IBusinessEventMask eventMask,
	Nullable<RuleExecutionPriority> priority = null,
	bool revocable = false
)

Parameters

getRepositoryRule
Type: SystemFuncRepository, IBusinessRule
The get repository rule function.
eventMask
Type: Aloe.SystemFrameworks.Domain.BusinessLogicIBusinessEventMask
The event mask.
priority (Optional)
Type: SystemNullableRuleExecutionPriority
The priority.
revocable (Optional)
Type: SystemBoolean
if set to true [revocable].
See Also