C# Class HtmlKit.HtmlAttribute

An HTML attribute.
An HTML attribute.
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
HtmlAttribute ( HtmlAttributeId id, string value ) : System

Initializes a new instance of the HtmlAttribute class.

Creates a new HTML attribute with the given id and value.

HtmlAttribute ( string name, string value ) : System

Initializes a new instance of the HtmlAttribute class.

Creates a new HTML attribute with the given name and value.

Private Methods

Method Description
HtmlAttribute ( string name ) : System

Method Details

HtmlAttribute() public method

Initializes a new instance of the HtmlAttribute class.
Creates a new HTML attribute with the given id and value.
/// is not a valid value. ///
public HtmlAttribute ( HtmlAttributeId id, string value ) : System
id HtmlAttributeId The attribute identifier.
value string The attribute value.
return System

HtmlAttribute() public method

Initializes a new instance of the HtmlAttribute class.
Creates a new HTML attribute with the given name and value.
/// is null. ///
public HtmlAttribute ( string name, string value ) : System
name string The attribute name.
value string The attribute value.
return System