C# Класс WebMarkupMin.Core.Parsers.HtmlAttribute

HTML attribute
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ContainsHtmlAttributeEncodingChars ( string value, char quoteCharValue ) : bool

Описание методов

HtmlAttribute() публичный Метод

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
Результат System.IO

HtmlAttribute() публичный Метод

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
Результат System.IO

HtmlAttributeDecode() публичный статический Метод

Converts a string that has been HTML-encoded into a decoded string
public static HtmlAttributeDecode ( string value ) : string
value string The string to decode
Результат string

HtmlAttributeEncode() публичный статический Метод

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
Результат string