C# Класс Catel.FluentValidatorProvider

The fluent validator provider.
This class will automatically retrieve the right fluent validation class associated with the view models.
Наследование: ValidatorProviderBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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