Base class used to create async business and validation rules.
RunModes RunMode
Gets or sets the run in context.
Base class for a property rule
virtual string GetMessage()
Gets the error message text.
Func< string > MessageDelegate
Gets or sets the error message function for this rule.
bool CanRunOnServer
Gets or sets a value indicating whether this instance can run in logical serverside data portal.
PropertyRuleAsync()
Initializes a new instance of the PropertyRule class.
bool CanRunInCheckRules
Gets or sets a value indicating whether this instance can run when CheckRules is called on BO.
string MessageText
Gets or sets the error message (constant).
PropertyRuleAsync(IPropertyInfo propertyInfo)
Initializes a new instance of the PropertyRule class.
bool CanRunAsAffectedProperty
Gets or sets a value indicating whether this instance can run as affected property.
bool HasMessageDelegate
Gets a value indicating whether this instance has message delegate.
Maintains metadata about a property.
RunModes
Flags enum to define when rule is allowed or denied to run