C# 클래스 ServiceStack.FluentValidation.Validators.PropertyValidator

상속: IPropertyValidator
파일 보기 프로젝트 열기: ServiceStack/ServiceStack

공개 메소드들

메소드 설명
Validate ( ServiceStack.FluentValidation.Validators.PropertyValidatorContext context ) : IEnumerable

보호된 메소드들

메소드 설명
CreateValidationError ( ServiceStack.FluentValidation.Validators.PropertyValidatorContext context ) : ValidationFailure

Creates an error validation result for this validator.

IsValid ( ServiceStack.FluentValidation.Validators.PropertyValidatorContext context ) : bool
PropertyValidator ( Expression errorMessageResourceSelector, string errorCode ) : System
PropertyValidator ( string errorMessageResourceName, Type errorMessageResourceType, string errorCode ) : System
PropertyValidator ( string errorMessage, string errorCode ) : System

메소드 상세

CreateValidationError() 보호된 메소드

Creates an error validation result for this validator.
protected CreateValidationError ( ServiceStack.FluentValidation.Validators.PropertyValidatorContext context ) : ValidationFailure
context ServiceStack.FluentValidation.Validators.PropertyValidatorContext The validator context
리턴 ValidationFailure

IsValid() 보호된 추상적인 메소드

protected abstract IsValid ( ServiceStack.FluentValidation.Validators.PropertyValidatorContext context ) : bool
context ServiceStack.FluentValidation.Validators.PropertyValidatorContext
리턴 bool

PropertyValidator() 보호된 메소드

protected PropertyValidator ( Expression errorMessageResourceSelector, string errorCode ) : System
errorMessageResourceSelector Expression
errorCode string
리턴 System

PropertyValidator() 보호된 메소드

protected PropertyValidator ( string errorMessageResourceName, Type errorMessageResourceType, string errorCode ) : System
errorMessageResourceName string
errorMessageResourceType System.Type
errorCode string
리턴 System

PropertyValidator() 보호된 메소드

protected PropertyValidator ( string errorMessage, string errorCode ) : System
errorMessage string
errorCode string
리턴 System

Validate() 공개 메소드

public Validate ( ServiceStack.FluentValidation.Validators.PropertyValidatorContext context ) : IEnumerable
context ServiceStack.FluentValidation.Validators.PropertyValidatorContext
리턴 IEnumerable