CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Rules.IBusinessRuleBase Interface Reference

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

Inheritance diagram for Csla.Rules.IBusinessRuleBase:
Csla.Rules.BusinessRuleBase Csla.Rules.IBusinessRule Csla.Rules.IBusinessRuleAsync Csla.Rules.BusinessRule Csla.Rules.BusinessRuleAsync Csla.Rules.BusinessRule Csla.Rules.BusinessRuleAsync Csla.Rules.CommonRules.DataAnnotation Csla.Rules.CommonRules.Dependency Csla.Rules.CommonRules.InfoMessage Csla.Rules.CommonRules.Lambda Csla.Rules.ObjectRule Csla.Rules.PropertyRule Csla.Rules.ObjectRuleAsync Csla.Rules.PropertyRuleAsync Csla.Rules.CommonRules.DataAnnotation Csla.Rules.CommonRules.Dependency Csla.Rules.CommonRules.InfoMessage Csla.Rules.CommonRules.Lambda Csla.Rules.ObjectRule Csla.Rules.PropertyRule Csla.Rules.ObjectRuleAsync Csla.Rules.PropertyRuleAsync

Properties

bool CascadeIfDirty [get]
 If true, rule will only cascade if the primary property is dirty.
List< Core.IPropertyInfoInputProperties [get]
 Gets a list of secondary property values to be supplied to the rule when it is executed.
List< Core.IPropertyInfoAffectedProperties [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.

Detailed Description

Interface defining a business/validation rule implementation.

Property Documentation

◆ AffectedProperties

List<Core.IPropertyInfo> Csla.Rules.IBusinessRuleBase.AffectedProperties
get

Gets a list of properties affected by this rule. Rules for these properties are executed after rules for the primary property.

Implemented in Csla.Rules.BusinessRuleBase.

◆ CascadeIfDirty

bool Csla.Rules.IBusinessRuleBase.CascadeIfDirty
get

If true, rule will only cascade if the primary property is dirty.

Implemented in Csla.Rules.BusinessRuleBase.

◆ DisplayIndex

int Csla.Rules.IBusinessRuleBase.DisplayIndex
get

Gets the rule Display Index in UI.

Implemented in Csla.Rules.BusinessRuleBase.

◆ InputProperties

List<Core.IPropertyInfo> Csla.Rules.IBusinessRuleBase.InputProperties
get

Gets a list of secondary property values to be supplied to the rule when it is executed.

Implemented in Csla.Rules.BusinessRuleBase.

◆ IsAsync

bool Csla.Rules.IBusinessRuleBase.IsAsync
get

Gets a value indicating whether the Execute() method will run asynchronous code.

Implemented in Csla.Rules.BusinessRule, Csla.Rules.BusinessRuleAsync, and Csla.Rules.BusinessRuleBase.

◆ PrimaryProperty

Core.? IPropertyInfo Csla.Rules.IBusinessRuleBase.PrimaryProperty
get

Gets the primary property affected by this rule.

Implemented in Csla.Rules.BusinessRuleBase, Csla.Rules.ObjectRule, and Csla.Rules.ObjectRuleAsync.

◆ Priority

int Csla.Rules.IBusinessRuleBase.Priority
get

Gets the rule priority.

Implemented in Csla.Rules.BusinessRuleBase.

◆ ProvideTargetWhenAsync

bool Csla.Rules.IBusinessRuleBase.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).

Implemented in Csla.Rules.BusinessRuleBase.

◆ RuleName

string Csla.Rules.IBusinessRuleBase.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.

Implemented in Csla.Rules.BusinessRuleBase.

◆ RunMode

RunModes Csla.Rules.IBusinessRuleBase.RunMode
get

Gets the context in which the rule is allowed to execute.

The run in context.

Implemented in Csla.Rules.BusinessRuleBase.


The documentation for this interface was generated from the following file: