C# Class WebMarkupMin.Core.Helpers.HtmlAttributeTypeHelpers

HTML attribute type helpers
Mostrar archivo Open project: Taritsyn/WebMarkupMin

Public Methods

Method Description
IsBooleanAttribute ( string attributeNameInLowercase ) : bool

Checks whether the attribute is boolean

IsEventAttribute ( string attributeNameInLowercase ) : bool

Checks whether the attribute is event

IsNumericAttribute ( string tagNameInLowercase, string attributeNameInLowercase ) : bool

Checks whether the attribute is numeric

IsUriBasedAttribute ( string tagNameInLowercase, string attributeNameInLowercase, IList attributes ) : bool

Checks whether the attribute is URI-based

IsXmlBasedAttribute ( string attributeNameInLowercase ) : bool

Checks whether the attribute is XML-based

Method Details

IsBooleanAttribute() public static method

Checks whether the attribute is boolean
public static IsBooleanAttribute ( string attributeNameInLowercase ) : bool
attributeNameInLowercase string Attribute name in lowercase
return bool

IsEventAttribute() public static method

Checks whether the attribute is event
public static IsEventAttribute ( string attributeNameInLowercase ) : bool
attributeNameInLowercase string Attribute name in lowercase
return bool

IsNumericAttribute() public static method

Checks whether the attribute is numeric
public static IsNumericAttribute ( string tagNameInLowercase, string attributeNameInLowercase ) : bool
tagNameInLowercase string Tag name in lowercase
attributeNameInLowercase string Attribute name in lowercase
return bool

IsUriBasedAttribute() public static method

Checks whether the attribute is URI-based
public static IsUriBasedAttribute ( string tagNameInLowercase, string attributeNameInLowercase, IList attributes ) : bool
tagNameInLowercase string Tag name in lowercase
attributeNameInLowercase string Attribute name in lowercase
attributes IList List of attributes
return bool

IsXmlBasedAttribute() public static method

Checks whether the attribute is XML-based
public static IsXmlBasedAttribute ( string attributeNameInLowercase ) : bool
attributeNameInLowercase string Attribute name in lowercase
return bool