Interface defining a business/validation rule implementation. More...
Properties | |
List< Csla.Core.IPropertyInfo > | InputProperties [get] |
Gets a list of secondary property values to be supplied to the rule when it is executed. More... | |
List< Csla.Core.IPropertyInfo > | AffectedProperties [get] |
Gets a list of properties affected by this rule. More... | |
Csla.Core.IPropertyInfo | PrimaryProperty [get] |
Gets the primary property affected by this rule. More... | |
string | RuleName [get] |
Gets a unique rule:// URI for the specific instance of the rule within the context of the business object where the rule is used. More... | |
int | Priority [get] |
Gets the rule priority. More... | |
bool | ProvideTargetWhenAsync [get] |
Gets a value indicating that the Target property should be set even for an async rule (note that using Target from a background thread will cause major problems). More... | |
RunModes | RunMode [get] |
Gets the context in which the rule is allowed to execute. More... | |
bool | IsAsync [get] |
Gets a value indicating whether the Execute() method will run asynchronous code. More... | |
Interface defining a business/validation rule implementation.
Definition at line 42 of file IBusinessRule.cs.
|
get |
Gets a list of properties affected by this rule.
Rules for these properties are executed after rules for the primary property.
Definition at line 54 of file IBusinessRule.cs.
|
get |
Gets a list of secondary property values to be supplied to the rule when it is executed.
Definition at line 48 of file IBusinessRule.cs.
|
get |
Gets a value indicating whether the Execute() method will run asynchronous code.
Definition at line 84 of file IBusinessRule.cs.
|
get |
Gets the primary property affected by this rule.
Definition at line 58 of file IBusinessRule.cs.
|
get |
Gets the rule priority.
Definition at line 68 of file IBusinessRule.cs.
|
get |
Gets a value indicating that the Target property should be set even for an async rule (note that using Target from a background thread will cause major problems).
Definition at line 74 of file IBusinessRule.cs.
|
get |
Gets a unique rule:// URI for the specific instance of the rule within the context of the business object where the rule is used.
Definition at line 64 of file IBusinessRule.cs.
|
get |
Gets the context in which the rule is allowed to execute.
The run in context.
Definition at line 79 of file IBusinessRule.cs.