C# 클래스 SpecExpress.PropertyValidator

파일 보기 프로젝트 열기: rbell/SpecExpress 1 사용 예제들

공개 메소드들

메소드 설명
GetValueForProperty ( object instance ) : object
Validate ( object instance, RuleValidatorContext parentRuleContexts, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool
Validate ( object instance, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool

보호된 메소드들

메소드 설명
PropertyValidator ( Type entityType, Type propertyType ) : System

비공개 메소드들

메소드 설명
BuildPropertyDelegate ( ) : Delegate
GetFirstMemberCallFromCallArguments ( MethodCallExpression exp ) : MemberInfo

메소드 상세

GetValueForProperty() 공개 메소드

public GetValueForProperty ( object instance ) : object
instance object
리턴 object

PropertyValidator() 보호된 메소드

protected PropertyValidator ( Type entityType, Type propertyType ) : System
entityType System.Type
propertyType System.Type
리턴 System

Validate() 공개 추상적인 메소드

public abstract Validate ( object instance, RuleValidatorContext parentRuleContexts, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool
instance object
parentRuleContexts SpecExpress.Rules.RuleValidatorContext
specificationContainer SpecificationContainer
notification ValidationNotification
리턴 bool

Validate() 공개 추상적인 메소드

public abstract Validate ( object instance, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool
instance object
specificationContainer SpecificationContainer
notification ValidationNotification
리턴 bool