Свойство | Type | Description | |
---|---|---|---|
GetValue | bool |
Méthode | Description | |
---|---|---|
GetMemberValueAccessBuilder ( ) : Microsoft.Practices.EnterpriseLibrary.Validation.MemberValueAccessBuilder |
Gets the member value access builder.
|
|
GetRawValue ( ) : object |
Gets the raw value.
|
|
PerformCustomValueConversion ( Microsoft.Practices.EnterpriseLibrary.Validation.Integration.ValueConvertEventArgs e ) : void |
Performs the custom value conversion.
|
|
PropertyValidator ( object objectToValidate, string propertyName ) : System |
Creates an instance of PropertyValidator
|
|
PropertyValidator ( object objectToValidate, string propertyName, string ruleset ) : System |
Creates an instance of PropertyValidator
|
|
PropertyValidator ( object objectToValidate, string propertyName, string ruleset, ValidationSpecificationSource specificationSource ) : System |
Creates an instance of PropertyValidator
|
Méthode | Description | |
---|---|---|
DoValidate ( object objectToValidate, object currentTarget, string key, ValidationResults validationResults ) : void |
Does the validate.
|
Méthode | Description | |
---|---|---|
GetValue ( object &value, string &valueAccessFailureMessage ) : bool |
Gets the value.
|
protected DoValidate ( object objectToValidate, object currentTarget, string key, ValidationResults validationResults ) : void | ||
objectToValidate | object | The object to validate. |
currentTarget | object | The current target. |
key | string | The key. |
validationResults | ValidationResults | The validation results. |
Résultat | void |
public GetMemberValueAccessBuilder ( ) : Microsoft.Practices.EnterpriseLibrary.Validation.MemberValueAccessBuilder | ||
Résultat | Microsoft.Practices.EnterpriseLibrary.Validation.MemberValueAccessBuilder |
public PerformCustomValueConversion ( Microsoft.Practices.EnterpriseLibrary.Validation.Integration.ValueConvertEventArgs e ) : void | ||
e | Microsoft.Practices.EnterpriseLibrary.Validation.Integration.ValueConvertEventArgs | The |
Résultat | void |
public PropertyValidator ( object objectToValidate, string propertyName ) : System | ||
objectToValidate | object | The object to validate. |
propertyName | string | The property for objectToValidate |
Résultat | System |
public PropertyValidator ( object objectToValidate, string propertyName, string ruleset ) : System | ||
objectToValidate | object | The object to validate. |
propertyName | string | The property for objectToValidate |
ruleset | string | The optional ruleset to use for validation. |
Résultat | System |
public PropertyValidator ( object objectToValidate, string propertyName, string ruleset, ValidationSpecificationSource specificationSource ) : System | ||
objectToValidate | object | The object to validate. |
propertyName | string | The property for objectToValidate |
ruleset | string | The optional ruleset to use for validation. |
specificationSource | ValidationSpecificationSource | Whether to use validation rules from attributes, config file, or both. |
Résultat | System |