9using System.Collections.Generic;
70 public RuleResult(
string ruleName, Core.IPropertyInfo property)
87 public RuleResult(
string ruleName, Core.IPropertyInfo property,
string description)
90 if (
string.IsNullOrEmpty(description))
96 Success =
string.IsNullOrEmpty(description);
A strongly-typed resource class, for looking up localized strings, etc.
static string RuleMessageRequired
Looks up a localized string similar to Message for broken rule is required.
Contains information about the result of a rule.
List< Core.IPropertyInfo > Properties
Gets or sets a list of properties that were affected by the rule, so appropriate PropertyChanged even...
RuleSeverity Severity
Gets or sets the severity of a failed rule.
string Description
Gets a human-readable description of why the rule failed.
RuleResult(string ruleName, Core.IPropertyInfo property)
Creates a successful result.
Csla.Core.IPropertyInfo PrimaryProperty
Gets the primary property for this result.
Dictionary< Core.IPropertyInfo, object > OutputPropertyValues
Gets or sets a dictionary of new property values used to update the business object's properties afte...
bool Success
Gets a value indicating whether the rule was successful.
string RuleName
Gets the unique name of the rule that created this result.
RuleResult(string ruleName, Core.IPropertyInfo property, string description)
Creates a failure result.
bool StopProcessing
Gets or sets a value indicating whether rule processing should immediately stop (applies to sync rule...
Maintains metadata about a property.
RuleSeverity
Values for validation rule severities.