C# Class Selenol.Validation.Element.InputAttribute

Inheritance: System.Attribute, IElementValidator
Exibir arquivo Open project: pbakshy/Selenol Class Usage Examples

Public Methods

Method Description
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.

Method Details

GetErrorMessage() public method

Gets an error message for an invalid element.
public GetErrorMessage ( BaseHtmlElement element ) : string
element BaseHtmlElement The invalid element.
return string

InputAttribute() public method

Initializes a new instance of the InputAttribute class.
public InputAttribute ( string typeName ) : System
typeName string The type name.
return System

Validate() public method

Validates an element.
public Validate ( BaseHtmlElement element ) : bool
element BaseHtmlElement The element.
return bool