C# Класс Selenol.Validation.Element.InputAttribute

Наследование: System.Attribute, IElementValidator
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetErrorMessage ( BaseHtmlElement element ) : string

Gets an error message for an invalid element.

InputAttribute ( string typeName ) : System

Initializes a new instance of the InputAttribute class.

Validate ( BaseHtmlElement element ) : bool

Validates an element.

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

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

Gets an error message for an invalid element.
public GetErrorMessage ( BaseHtmlElement element ) : string
element BaseHtmlElement The invalid element.
Результат string

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

Initializes a new instance of the InputAttribute class.
public InputAttribute ( string typeName ) : System
typeName string The type name.
Результат System

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

Validates an element.
public Validate ( BaseHtmlElement element ) : bool
element BaseHtmlElement The element.
Результат bool