C# 클래스 Nettiers.AdventureWorks.Entities.Validation.PropertyValidator

Property Validator
상속: Microsoft.Practices.EnterpriseLibrary.Validation.Validator, IValidationIntegrationProxy
파일 보기 프로젝트 열기: netTiers/netTiers 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetValue bool

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
DoValidate ( object objectToValidate, object currentTarget, string key, ValidationResults validationResults ) : void

Does the validate.

비공개 메소드들

메소드 설명
GetValue ( object &value, string &valueAccessFailureMessage ) : bool

Gets the value.

메소드 상세

DoValidate() 보호된 메소드

Does the validate.
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.
리턴 void

GetMemberValueAccessBuilder() 공개 메소드

Gets the member value access builder.
public GetMemberValueAccessBuilder ( ) : Microsoft.Practices.EnterpriseLibrary.Validation.MemberValueAccessBuilder
리턴 Microsoft.Practices.EnterpriseLibrary.Validation.MemberValueAccessBuilder

GetRawValue() 공개 메소드

Gets the raw value.
public GetRawValue ( ) : object
리턴 object

PerformCustomValueConversion() 공개 메소드

Performs the custom value conversion.
public PerformCustomValueConversion ( Microsoft.Practices.EnterpriseLibrary.Validation.Integration.ValueConvertEventArgs e ) : void
e Microsoft.Practices.EnterpriseLibrary.Validation.Integration.ValueConvertEventArgs The instance containing the event data.
리턴 void

PropertyValidator() 공개 메소드

Creates an instance of PropertyValidator
public PropertyValidator ( object objectToValidate, string propertyName ) : System
objectToValidate object The object to validate.
propertyName string The property for objectToValidate
리턴 System

PropertyValidator() 공개 메소드

Creates an instance of PropertyValidator
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.
리턴 System

PropertyValidator() 공개 메소드

Creates an instance of PropertyValidator
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.
리턴 System