C# Class Hanasu.Core.Utilities.HtmlTextUtility

显示文件 Open project: Amrykid/Hanasu

Public Methods

Method Description
Decode ( string html ) : string
Encode ( string html ) : string
ExtensionIsWebExtension ( string ext ) : bool
GetHtmlFromUrl2 ( string url ) : Task
GetHtmlFromUrl2 ( string url, bool hasRedirected ) : Task
UrlDecode ( string text ) : string
UrlEncode ( string text ) : string

Private Methods

Method Description
HtmlTextUtility ( ) : System
InitializeHtmlDict ( ) : void

Method Details

Decode() public static method

public static Decode ( string html ) : string
html string
return string

Encode() public static method

public static Encode ( string html ) : string
html string
return string

ExtensionIsWebExtension() public static method

public static ExtensionIsWebExtension ( string ext ) : bool
ext string
return bool

GetHtmlFromUrl2() public static method

public static GetHtmlFromUrl2 ( string url ) : Task
url string
return Task

GetHtmlFromUrl2() public static method

public static GetHtmlFromUrl2 ( string url, bool hasRedirected ) : Task
url string
hasRedirected bool
return Task

UrlDecode() public static method

public static UrlDecode ( string text ) : string
text string
return string

UrlEncode() public static method

public static UrlEncode ( string text ) : string
text string
return string