C# Class HtmlKit.HtmlTagIdExtensions

HtmlTagId extension methods.
HtmlTagId extension methods.
Afficher le fichier Open project: prepare/HTML-Renderer

Méthodes publiques

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

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

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.
Résultat bool

IsFormattingElement() public static méthode

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.
Résultat bool

ToHtmlTagName() public static méthode

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.
Résultat string