C# 클래스 WebMarkupMin.Core.Parsers.HtmlAttribute

HTML attribute
파일 보기 프로젝트 열기: Taritsyn/WebMarkupMin 1 사용 예제들

공개 메소드들

메소드 설명
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