C# Класс Castle.Components.Validator.ValidateGroupNotEmptyAttribute

Наследование: Castle.Components.Validator.AbstractValidationAttribute
Показать файл Открыть проект

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

Метод Описание
Build ( ) : IValidator

Constructs and configures an IValidator instance based on the properties set on the attribute instance.

Build ( Castle.Components.Validator.ValidatorRunner validatorRunner, Type type ) : IValidator

Constructs and configures an IValidator instance based on the properties set on the attribute instance.

ValidateGroupNotEmptyAttribute ( string group ) : System

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.

ValidateGroupNotEmptyAttribute ( string group, string errorMessage ) : System

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.

Описание методов

Build() публичный Метод

Constructs and configures an IValidator instance based on the properties set on the attribute instance.
public Build ( ) : IValidator
Результат IValidator

Build() публичный Метод

Constructs and configures an IValidator instance based on the properties set on the attribute instance.
public Build ( Castle.Components.Validator.ValidatorRunner validatorRunner, Type type ) : IValidator
validatorRunner Castle.Components.Validator.ValidatorRunner
type System.Type
Результат IValidator

ValidateGroupNotEmptyAttribute() публичный Метод

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.
public ValidateGroupNotEmptyAttribute ( string group ) : System
group string The group.
Результат System

ValidateGroupNotEmptyAttribute() публичный Метод

Initializes a new instance of the ValidateGroupNotEmptyAttribute class.
public ValidateGroupNotEmptyAttribute ( string group, string errorMessage ) : System
group string The group.
errorMessage string The error message.
Результат System