C# Class ToolBelt.ParsedUrl

Datei anzeigen Open project: jlyonsmith/ToolBelt Class Usage Examples

Public Properties

Property Type Description
UnencodedChars string

Public Methods

Method Description
CombineAsQueryParams ( string>.List pairs ) : string
Equals ( ParsedUrl url1, ToolBelt.ParsedPath url2 ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ParseQueryParams ( string s ) : string>>.List
ParsedUrl ( string url ) : System
ToString ( ) : string
UrlEncode ( string s, bool uppercaseHex = true ) : string
WithPath ( string newPath ) : ParsedUrl
WithPort ( int port = null ) : ParsedUrl
WithQueryParams ( string>.List queryParams ) : ParsedUrl
WithQueryParams ( string queryParams ) : ParsedUrl

Private Methods

Method Description
AppendQueryParams ( StringBuilder sb, string>.List queryParams ) : void
ParsedUrl ( string newUrl, short newUserIndex, short newPasswordIndex, short newHostIndex, short newPortIndex, short newPathIndex, short newQueryIndex ) : System

Method Details

CombineAsQueryParams() public static method

public static CombineAsQueryParams ( string>.List pairs ) : string
pairs string>.List
return string

Equals() public static method

public static Equals ( ParsedUrl url1, ToolBelt.ParsedPath url2 ) : bool
url1 ParsedUrl
url2 ToolBelt.ParsedPath
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ParseQueryParams() public static method

public static ParseQueryParams ( string s ) : string>>.List
s string
return string>>.List

ParsedUrl() public method

public ParsedUrl ( string url ) : System
url string
return System

ToString() public method

public ToString ( ) : string
return string

UrlEncode() public static method

public static UrlEncode ( string s, bool uppercaseHex = true ) : string
s string
uppercaseHex bool
return string

WithPath() public method

public WithPath ( string newPath ) : ParsedUrl
newPath string
return ParsedUrl

WithPort() public method

public WithPort ( int port = null ) : ParsedUrl
port int
return ParsedUrl

WithQueryParams() public method

public WithQueryParams ( string>.List queryParams ) : ParsedUrl
queryParams string>.List
return ParsedUrl

WithQueryParams() public method

public WithQueryParams ( string queryParams ) : ParsedUrl
queryParams string
return ParsedUrl

Property Details

UnencodedChars public_oe static_oe property

public static string UnencodedChars
return string