C# Class HtmlKit.HtmlTagIdExtensions

HtmlTagId extension methods.
HtmlTagId extension methods.
Mostra file Open project: prepare/HTML-Renderer

Public Methods

Method Description
IsEmptyElement ( this id ) : bool

Determines whether or not the HTML tag is an empty element.

Determines whether or not the HTML tag is an empty element.

IsFormattingElement ( this id ) : bool

Determines whether or not the HTML tag is a formatting element.

Determines whether or not the HTML tag is a formatting element.

ToHtmlTagName ( this value ) : string

Converts the enum value into the equivalent tag name.

Converts the enum value into the equivalent tag name.

Private Methods

Method Description
HtmlTagIdExtensions ( ) : System
ToHtmlTagId ( this name ) : HtmlTagId

Converts the tag name into the equivalent tag id.

Converts the tag name into the equivalent tag id.

Method Details

IsEmptyElement() public static method

Determines whether or not the HTML tag is an empty element.
Determines whether or not the HTML tag is an empty element.
public static IsEmptyElement ( this id ) : bool
id this Identifier.
return bool

IsFormattingElement() public static method

Determines whether or not the HTML tag is a formatting element.
Determines whether or not the HTML tag is a formatting element.
public static IsFormattingElement ( this id ) : bool
id this The HTML tag identifier.
return bool

ToHtmlTagName() public static method

Converts the enum value into the equivalent tag name.
Converts the enum value into the equivalent tag name.
public static ToHtmlTagName ( this value ) : string
value this The enum value.
return string