CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Rules.IBusinessRuleAsync Interface Reference

Interface defining a business/validation rule implementation. More...

Inheritance diagram for Csla.Rules.IBusinessRuleAsync:
Csla.Rules.IBusinessRuleBase Csla.Rules.BusinessRuleAsync Csla.Rules.ObjectRuleAsync Csla.Rules.PropertyRuleAsync

Public Member Functions

Task ExecuteAsync (IRuleContext context)
 Business or validation rule implementation. More...
 

Additional Inherited Members

- Properties inherited from Csla.Rules.IBusinessRuleBase
List< Csla.Core.IPropertyInfoInputProperties [get]
 Gets a list of secondary property values to be supplied to the rule when it is executed. More...
 
List< Csla.Core.IPropertyInfoAffectedProperties [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...
 

Detailed Description

Interface defining a business/validation rule implementation.

Definition at line 104 of file IBusinessRule.cs.

Member Function Documentation

◆ ExecuteAsync()

Task Csla.Rules.IBusinessRuleAsync.ExecuteAsync ( IRuleContext  context)

Business or validation rule implementation.

Parameters
contextRule context object.

Implemented in Csla.Rules.BusinessRuleAsync.