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

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

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

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

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

ValidateRegExpAttribute ( String pattern ) : System

Initializes a new instance of the ValidateRegExpAttribute class.

ValidateRegExpAttribute ( String pattern, String errorMessage ) : System

Initializes a new instance of the ValidateRegExpAttribute class.

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

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

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

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

Initializes a new instance of the ValidateRegExpAttribute class.
public ValidateRegExpAttribute ( String pattern ) : System
pattern String The pattern.
Результат System

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

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