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

Validates that the collection is not empty
Наследование: Castle.Components.Validator.AbstractValidationAttribute
Показать файл Открыть проект

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

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

Constructs and configures an T:Castle.Components.Validator.IValidator instance based on the properties set on the attribute instance.

ValidateCollectionNotEmptyAttribute ( )

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.

ValidateCollectionNotEmptyAttribute ( string errorMessage )

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.

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

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

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

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

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.

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

Initializes a new instance of the ValidateCollectionNotEmptyAttribute class.
public ValidateCollectionNotEmptyAttribute ( string errorMessage )
errorMessage string The error message.