C# 클래스 System.Net.WebUtility

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
HtmlDecode ( string value ) : string
HtmlDecode ( string value, TextWriter output ) : void
HtmlEncode ( string value ) : string
HtmlEncode ( string value, TextWriter output ) : void
UrlDecodeToBytes ( byte encodedValue, int offset, int count ) : byte[]
UrlEncodeToBytes ( byte value, int offset, int count ) : byte[]

비공개 메소드들

메소드 설명
ConvertSmpToUtf16 ( uint smpChar, char &leadingSurrogate, char &trailingSurrogate ) : void
GetEncodedBytes ( byte originalBytes, int offset, int count, byte expandedBytes ) : void
GetNextUnicodeScalarValueFromUtf16Surrogate ( char &pch, int &charsRemaining ) : int
HexToInt ( char h ) : int
HtmlDecode ( string value, StringBuilder output ) : void
HtmlEncode ( string value, int index, StringBuilder output ) : void
IndexOfHtmlEncodingChars ( string s, int startPos ) : int
IntToHex ( int n ) : char
IsUrlSafeChar ( char ch ) : bool
StringRequiresHtmlDecoding ( string s ) : bool
UrlDecode ( string encodedValue ) : string
UrlDecodeInternal ( byte bytes, int offset, int count ) : byte[]
UrlDecodeInternal ( string value, Encoding encoding ) : string
UrlEncode ( string value ) : string
ValidateUrlEncodingParameters ( byte bytes, int offset, int count ) : bool

메소드 상세

HtmlDecode() 공개 정적인 메소드

public static HtmlDecode ( string value ) : string
value string
리턴 string

HtmlDecode() 공개 정적인 메소드

public static HtmlDecode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
리턴 void

HtmlEncode() 공개 정적인 메소드

public static HtmlEncode ( string value ) : string
value string
리턴 string

HtmlEncode() 공개 정적인 메소드

public static HtmlEncode ( string value, TextWriter output ) : void
value string
output System.IO.TextWriter
리턴 void

UrlDecodeToBytes() 공개 정적인 메소드

public static UrlDecodeToBytes ( byte encodedValue, int offset, int count ) : byte[]
encodedValue byte
offset int
count int
리턴 byte[]

UrlEncodeToBytes() 공개 정적인 메소드

public static UrlEncodeToBytes ( byte value, int offset, int count ) : byte[]
value byte
offset int
count int
리턴 byte[]