Method | Description | |
---|---|---|
Create ( ) : |
||
Credentials ( string user, string password ) : |
Sets or updates the user credentials (user name and password) in the URI.
|
|
DefaultPort ( ) : |
Updates the URI to use the default port for the protocol.
|
|
Fragment ( string fragment ) : |
Sets or updates the fragment part of the URI.
|
|
From ( string baseUri ) : |
||
Host ( string host ) : |
Sets or updates the hostname of the URI.
|
|
Path ( string path ) : |
Sets or updates the local path in the URI.
|
|
Port ( int port ) : |
Sets or updates the port number in the URI.
|
|
QueryParam ( string key, string value ) : |
Adds a query parameter to the URI.
|
|
QueryParams ( object>.IDictionary |
Sets the query parameters of the URI.
|
|
QueryParams ( object queryParams ) : |
Sets the query parameters of the URI.
|
|
RemoveCredentials ( ) : |
Removes the user name and password from the URI.
|
|
RemoveFragment ( ) : |
Removes the fragment part of the URI.
|
|
RemovePath ( ) : |
Removes the local path from the URI.
|
|
RemovePort ( ) : |
Removes the port number from the URI.
|
|
RemoveQueryParams ( ) : |
Removes all query parameters from the URI.
|
|
Scheme ( UriScheme scheme ) : |
Sets or updates the protocol scheme of the URI.
|
|
ToString ( ) : string |
Returns the URI build by this instance as a string.
|
|
ToUri ( ) : |
Creates a new Uri instance from the values specified.
|
Method | Description | |
---|---|---|
FluentUriBuilder ( string baseUri ) : System | ||
initializeQueryParamsList ( ) : void |
public Credentials ( string user, string password ) : |
||
user | string | /// The new value of the user. /// |
password | string | /// The new value of the password. /// |
return |
public Fragment ( string fragment ) : |
||
fragment | string | /// The new value of the URI fragment. If empty, the base URI fragment is deleted. /// |
return |
public static From ( string baseUri ) : |
||
baseUri | string | |
return |
public Host ( string host ) : |
||
host | string | /// The new value of the hostname. Cannot be null or white space. /// |
return |
public Path ( string path ) : |
||
path | string | /// The new value of the local path. /// |
return |
public Port ( int port ) : |
||
port | int | /// An integer between -1 and 65535, inclusive. -1 indicates that the default /// port number for the protocol is to be used. /// |
return |
public QueryParam ( string key, string value ) : |
||
key | string | /// The key (name) of the query parameter. /// |
value | string | /// The value of the query parameter. /// |
return |
public QueryParams ( object>.IDictionary |
||
queryParams | object>.IDictionary | /// The query parameters to add to the URI. /// |
return |
public QueryParams ( object queryParams ) : |
||
queryParams | object | /// The object containing the query parameters to add to the URI. Property names /// and their values are used as parameter keys and values. /// |
return |
public RemoveCredentials ( ) : |
||
return |
public RemoveQueryParams ( ) : |
||
return |
public Scheme ( UriScheme scheme ) : |
||
scheme | UriScheme | /// The new value of the protocol scheme. /// |
return |