C# Class Selenol.Validation.Element.InputAttribute

Inheritance: System.Attribute, IElementValidator
Afficher le fichier Open project: pbakshy/Selenol Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

InputAttribute() public méthode

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

Validate() public méthode

Validates an element.
public Validate ( BaseHtmlElement element ) : bool
element BaseHtmlElement The element.
Résultat bool