C# Class WebMarkupMin.Core.Parsers.HtmlAttribute

HTML attribute
Afficher le fichier Open project: Taritsyn/WebMarkupMin Class Usage Examples

Méthodes publiques

Méthode Description
HtmlAttribute ( string name, string nameInLowercase, string value, HtmlAttributeType type ) : System.IO

Constructs instance of HTML attribute

HtmlAttribute ( string name, string nameInLowercase, string value, HtmlAttributeType type, SourceCodeNodeCoordinates nameCoordinates, SourceCodeNodeCoordinates valueCoordinates ) : System.IO

Constructs instance of HTML attribute

HtmlAttributeDecode ( string value ) : string

Converts a string that has been HTML-encoded into a decoded string

HtmlAttributeEncode ( string value, HtmlAttributeQuotesType attributeQuotesType = HtmlAttributeQuotesType.Double ) : string

Converts a string to an HTML-encoded string

Private Methods

Méthode Description
ContainsHtmlAttributeEncodingChars ( string value, char quoteCharValue ) : bool

Method Details

HtmlAttribute() public méthode

Constructs instance of HTML attribute
public HtmlAttribute ( string name, string nameInLowercase, string value, HtmlAttributeType type ) : System.IO
name string Name
nameInLowercase string Name in lowercase
value string Value
type HtmlAttributeType Type
Résultat System.IO

HtmlAttribute() public méthode

Constructs instance of HTML attribute
public HtmlAttribute ( string name, string nameInLowercase, string value, HtmlAttributeType type, SourceCodeNodeCoordinates nameCoordinates, SourceCodeNodeCoordinates valueCoordinates ) : System.IO
name string Name
nameInLowercase string Name in lowercase
value string Value
type HtmlAttributeType Type
nameCoordinates WebMarkupMin.Core.Utilities.SourceCodeNodeCoordinates Coordinates of name
valueCoordinates WebMarkupMin.Core.Utilities.SourceCodeNodeCoordinates Coordinates of value
Résultat System.IO

HtmlAttributeDecode() public static méthode

Converts a string that has been HTML-encoded into a decoded string
public static HtmlAttributeDecode ( string value ) : string
value string The string to decode
Résultat string

HtmlAttributeEncode() public static méthode

Converts a string to an HTML-encoded string
public static HtmlAttributeEncode ( string value, HtmlAttributeQuotesType attributeQuotesType = HtmlAttributeQuotesType.Double ) : string
value string The string to encode
attributeQuotesType HtmlAttributeQuotesType HTML attribute quotes type
Résultat string