![]() |
CSLA .NET 10.0.0
A home for your business logic
|
Interface defining a business/validation rule implementation. More...
Public Member Functions | |
| Task | ExecuteAsync (IRuleContext context) |
| Business or validation rule implementation. | |
Additional Inherited Members | |
| Properties inherited from Csla.Rules.IBusinessRuleBase | |
| bool | CascadeIfDirty [get] |
| If true, rule will only cascade if the primary property is dirty. | |
| List< Core.IPropertyInfo > | InputProperties [get] |
| Gets a list of secondary property values to be supplied to the rule when it is executed. | |
| List< Core.IPropertyInfo > | AffectedProperties [get] |
| Gets a list of properties affected by this rule. Rules for these properties are executed after rules for the primary property. | |
| Core.? IPropertyInfo | PrimaryProperty [get] |
| Gets the primary property affected by this rule. | |
| 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. | |
| int | Priority [get] |
| Gets the rule priority. | |
| 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). | |
| RunModes | RunMode [get] |
| Gets the context in which the rule is allowed to execute. | |
| bool | IsAsync [get] |
| Gets a value indicating whether the Execute() method will run asynchronous code. | |
| int | DisplayIndex [get] |
| Gets the rule Display Index in UI. | |
Interface defining a business/validation rule implementation.
| Task Csla.Rules.IBusinessRuleAsync.ExecuteAsync | ( | IRuleContext | context | ) |
Business or validation rule implementation.
| context | Rule context object. |
Implemented in Csla.Rules.BusinessRuleAsync.