C# 클래스 Catel.FluentValidatorProvider

The fluent validator provider.
This class will automatically retrieve the right fluent validation class associated with the view models.
상속: ValidatorProviderBase
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
FluentValidatorProvider ( ) : System

Initializes a new instance of the FluentValidatorProvider class.

보호된 메소드들

메소드 설명
GetValidator ( Type targetType ) : Data.IValidator

Gets a validator for the specified target type.

This method only searches for fluent validators on the assembly which the targetType belongs to, and creates adapters that allow fluent validator talks with catel validation approach.

메소드 상세

FluentValidatorProvider() 공개 메소드

Initializes a new instance of the FluentValidatorProvider class.
public FluentValidatorProvider ( ) : System
리턴 System

GetValidator() 보호된 메소드

Gets a validator for the specified target type.
This method only searches for fluent validators on the assembly which the targetType belongs to, and creates adapters that allow fluent validator talks with catel validation approach.
protected GetValidator ( Type targetType ) : Data.IValidator
targetType System.Type /// The target type. ///
리턴 Data.IValidator