C# Class Nvelope.Web.UriExtensions

Show file Open project: TrinityWestern/Nvelope

Public Methods

Method Description
AddParameter ( this uri, string key, string value ) : Uri

Adds parameter to a uri.

ToStringWithoutSlash ( this uri ) : string

Output URI as a string without a slash at the end of the path

Method Details

AddParameter() public static method

Adds parameter to a uri.
public static AddParameter ( this uri, string key, string value ) : Uri
uri this
key string Key of the parameter to add.
value string Value of the parameter to add.
return System.Uri

ToStringWithoutSlash() public static method

Output URI as a string without a slash at the end of the path
public static ToStringWithoutSlash ( this uri ) : string
uri this
return string