Interface defining a business/validation rule implementation. More...
Public Member Functions | |
void | Execute (IRuleContext context) |
Business or validation rule implementation. More... | |
Additional Inherited Members | |
Properties inherited from Csla.Rules.IBusinessRuleBase | |
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 91 of file IBusinessRule.cs.
void Csla.Rules.IBusinessRule.Execute | ( | IRuleContext | context | ) |
Business or validation rule implementation.
context | Rule context object. |
Implemented in Csla.Analyzers.IntegrationTests.ExecuteWithoutAdd, Csla.Analyzers.IntegrationTests.ExecuteWithAdd, Csla.Analyzers.IntegrationTests.ExecuteWithAddAndNameof, Csla.Analyzers.IntegrationTests.AsynchronousRuleOldSchool, Csla.Blazor.Test.Rules.OneOfSeveralStringsRequiredRule, Csla.Testing.Business.BusyStatus.ItemWithAsynchRule.FiveSecondsLongRule, Csla.Test.ValidationRules.BrokenRulesMergeRoot.RuleBroken, Csla.Test.ValidationRules.CalculateFractionRule, Csla.Test.ValidationRules.CalcSumRule, Csla.Test.ValidationRules.HasAsyncRule.Rule1, Csla.Test.ValidationRules.HasAsyncRule.Rule2, Csla.Test.ValidationRules.HasAsyncRule.Rule3, Csla.Test.ValidationRules.HasInvalidAsyncRule.InvalidAsyncValidationRule, Csla.Test.ValidationRules.CalcSum, Csla.Test.ValidationRules.ValidateRootObject, Csla.Test.ValidationRules.LessThan, Csla.Rules.BusinessRule, Csla.Rules.CommonRules.DataAnnotation, Csla.Rules.CommonRules.Required, Csla.Rules.CommonRules.MaxLength, Csla.Rules.CommonRules.MinLength, Csla.Rules.CommonRules.MinValue< T >, Csla.Rules.CommonRules.MaxValue< T >, Csla.Rules.CommonRules.RegExMatch, Csla.Rules.CommonRules.InfoMessage, and Csla.Rules.CommonRules.Lambda.