C# Class WebMarkupMin.Core.Helpers.HtmlTagFlagsHelpers

HTML tag flags helpers
Mostra file Open project: Taritsyn/WebMarkupMin

Public Methods

Method Description
IsBlockTag ( string tagNameInLowercase ) : bool

Checks whether the tag is block

IsEmptyTag ( string tagNameInLowercase ) : bool

Checks whether the tag is empty

IsHtmlTag ( string tagNameInLowercase ) : bool

Checks whether the tag is HTML

IsInlineBlockTag ( string tagNameInLowercase ) : bool

Checks whether the tag is inline-block

IsInlineTag ( string tagNameInLowercase ) : bool

Checks whether the tag is inline

IsInvisibleTag ( string tagNameInLowercase ) : bool

Checks whether the tag is invisible

IsNonIndependentTag ( string tagNameInLowercase ) : bool

Checks whether the tag is non-independent

IsOptionalTag ( string tagNameInLowercase ) : bool

Checks whether the tag, that can be omitted

IsTagWithEmbeddedCode ( string tagNameInLowercase ) : bool

Checks whether the tag can contain embedded code

IsXmlBasedTag ( string tagNameInLowercase ) : bool

Checks whether the tag is XML-based

Method Details

IsBlockTag() public static method

Checks whether the tag is block
public static IsBlockTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsEmptyTag() public static method

Checks whether the tag is empty
public static IsEmptyTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsHtmlTag() public static method

Checks whether the tag is HTML
public static IsHtmlTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsInlineBlockTag() public static method

Checks whether the tag is inline-block
public static IsInlineBlockTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsInlineTag() public static method

Checks whether the tag is inline
public static IsInlineTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsInvisibleTag() public static method

Checks whether the tag is invisible
public static IsInvisibleTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsNonIndependentTag() public static method

Checks whether the tag is non-independent
public static IsNonIndependentTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsOptionalTag() public static method

Checks whether the tag, that can be omitted
public static IsOptionalTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsTagWithEmbeddedCode() public static method

Checks whether the tag can contain embedded code
public static IsTagWithEmbeddedCode ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool

IsXmlBasedTag() public static method

Checks whether the tag is XML-based
public static IsXmlBasedTag ( string tagNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
return bool