Custom RuleArgs object required by the StringMaxLength rule method. More...
Public Member Functions | |
MaxLengthRuleArgs (string propertyName, int maxLength) | |
Create a new object. More... | |
MaxLengthRuleArgs (Core.IPropertyInfo propertyInfo, int maxLength) | |
Create a new object. More... | |
MaxLengthRuleArgs (string propertyName, string friendlyName, int maxLength) | |
Create a new object. More... | |
MaxLengthRuleArgs (string propertyName, int maxLength, string format) | |
Create a new object. More... | |
MaxLengthRuleArgs (Core.IPropertyInfo propertyInfo, int maxLength, string format) | |
Create a new object. More... | |
MaxLengthRuleArgs (string propertyName, string friendlyName, int maxLength, string format) | |
Create a new object. More... | |
Public Member Functions inherited from Csla.Validation.DecoratedRuleArgs | |
DecoratedRuleArgs (string propertyName) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (Core.IPropertyInfo propertyInfo) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, string friendlyName) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, RuleSeverity severity) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (Core.IPropertyInfo propertyInfo, RuleSeverity severity) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, string friendlyName, RuleSeverity severity) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, RuleSeverity severity, bool stopProcessing) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (Core.IPropertyInfo propertyInfo, RuleSeverity severity, bool stopProcessing) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, string friendlyName, RuleSeverity severity, bool stopProcessing) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (Core.IPropertyInfo propertyInfo, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, string friendlyName, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, RuleSeverity severity, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (Core.IPropertyInfo propertyInfo, RuleSeverity severity, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, string friendlyName, RuleSeverity severity, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, RuleSeverity severity, bool stopProcessing, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (Core.IPropertyInfo propertyInfo, RuleSeverity severity, bool stopProcessing, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
DecoratedRuleArgs (string propertyName, string friendlyName, RuleSeverity severity, bool stopProcessing, Dictionary< string, object > args) | |
Creates an instance of RuleArgs. More... | |
override string | ToString () |
Return a string representation of the object using the rule:// URI format. More... | |
Public Member Functions inherited from Csla.Validation.RuleArgs | |
RuleArgs (string propertyName) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (Core.IPropertyInfo propertyInfo) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (string propertyName, string friendlyName) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (string propertyName, RuleSeverity severity) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (Core.IPropertyInfo propertyInfo, RuleSeverity severity) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (string propertyName, string friendlyName, RuleSeverity severity) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (string propertyName, RuleSeverity severity, bool stopProcessing) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (Core.IPropertyInfo propertyInfo, RuleSeverity severity, bool stopProcessing) | |
Creates an instance of RuleArgs. More... | |
RuleArgs (string propertyName, string friendlyName, RuleSeverity severity, bool stopProcessing) | |
Creates an instance of RuleArgs. More... | |
override string | ToString () |
Returns a string representation of the object. More... | |
Properties | |
int | MaxLength [get] |
Get the max length for the string. More... | |
Properties inherited from Csla.Validation.DecoratedRuleArgs | |
object | this[string key] [getset] |
Gets or sets an argument value for use by the rule method. More... | |
Properties inherited from Csla.Validation.RuleArgs | |
string | PropertyName [get] |
The name of the property to be validated. More... | |
string | PropertyFriendlyName [getset] |
Gets or sets a friendly name for the property, which will be used in place of the property name when creating the broken rule description string. More... | |
string | Description [getset] |
Set by the rule handler method to describe the broken rule. More... | |
RuleSeverity | Severity [getset] |
Gets or sets the severity of the broken rule. More... | |
bool | StopProcessing [getset] |
Gets or sets a value indicating whether this broken rule should stop the processing of subsequent rules for this property. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Csla.Validation.RuleArgs | |
static string | GetPropertyName (RuleArgs e) |
Gets the property name from the RuleArgs object, using the friendly name if one is defined. More... | |
Custom RuleArgs object required by the StringMaxLength rule method.
Definition at line 97 of file Csla.Validation.Shared/CommonRules.cs.
Csla.Validation.CommonRules.MaxLengthRuleArgs.MaxLengthRuleArgs | ( | string | propertyName, |
int | maxLength | ||
) |
Create a new object.
propertyName | Name of the property to validate. |
maxLength | Max length of characters allowed. |
Definition at line 112 of file Csla.Validation.Shared/CommonRules.cs.
Csla.Validation.CommonRules.MaxLengthRuleArgs.MaxLengthRuleArgs | ( | Core.IPropertyInfo | propertyInfo, |
int | maxLength | ||
) |
Create a new object.
propertyInfo | PropertyInfo for the property to validate. |
maxLength | Max length of characters allowed. |
Definition at line 125 of file Csla.Validation.Shared/CommonRules.cs.
Csla.Validation.CommonRules.MaxLengthRuleArgs.MaxLengthRuleArgs | ( | string | propertyName, |
string | friendlyName, | ||
int | maxLength | ||
) |
Create a new object.
propertyName | Name of the property to validate. |
friendlyName | A friendly name for the property, which will be used in place of the property name when creating the broken rule description string. |
maxLength | Max length of characters allowed. |
Definition at line 140 of file Csla.Validation.Shared/CommonRules.cs.
Csla.Validation.CommonRules.MaxLengthRuleArgs.MaxLengthRuleArgs | ( | string | propertyName, |
int | maxLength, | ||
string | format | ||
) |
Create a new object.
propertyName | Name of the property to validate. |
maxLength | Max length of characters allowed. |
format | Format string for the max length value in the broken rule string. |
Definition at line 155 of file Csla.Validation.Shared/CommonRules.cs.
Csla.Validation.CommonRules.MaxLengthRuleArgs.MaxLengthRuleArgs | ( | Core.IPropertyInfo | propertyInfo, |
int | maxLength, | ||
string | format | ||
) |
Create a new object.
propertyInfo | PropertyInfo for the property to validate. |
maxLength | Max length of characters allowed. |
format | Format string for the max length value in the broken rule string. |
Definition at line 170 of file Csla.Validation.Shared/CommonRules.cs.
Csla.Validation.CommonRules.MaxLengthRuleArgs.MaxLengthRuleArgs | ( | string | propertyName, |
string | friendlyName, | ||
int | maxLength, | ||
string | format | ||
) |
Create a new object.
propertyName | Name of the property to validate. |
friendlyName | A friendly name for the property, which will be used in place of the property name when creating the broken rule description string. |
maxLength | Max length of characters allowed. |
format | Format string for the max length value in the broken rule string. |
Definition at line 187 of file Csla.Validation.Shared/CommonRules.cs.
|
get |
Get the max length for the string.
Definition at line 102 of file Csla.Validation.Shared/CommonRules.cs.