C# Class GitSharp.Core.Transport.URIish

This URI like construct used for referencing Git archives over the net, as well as locally stored archives. The most important difference compared to RFC 2396 URI's is that no URI encoding/decoding ever takes place. A space or any special character is written as-is.
Show file Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
SetHost ( string n ) : URIish

Return a new URI matching this one, but with a different host.

SetPass ( string n ) : URIish

Return a new URI matching this one, but with a different password.

SetPath ( string n ) : URIish

Return a new URI matching this one, but with a different path.

SetPort ( int n ) : URIish

Return a new URI matching this one, but with a different port.

SetScheme ( string n ) : URIish

Return a new URI matching this one, but with a different scheme.

SetUser ( string n ) : URIish

Return a new URI matching this one, but with a different user.

ToPrivateString ( ) : string

Obtain the string form of the URI, with the password included.

ToString ( ) : string
URIish ( ) : System

Create an empty, non-configured URI.

URIish ( Uri u ) : System

Construct a URIish from a standard URL.

URIish ( string s ) : System

Parse and construct an URIish from a string

Private Methods

Method Description
Eq ( string a, string b ) : bool
Format ( bool includePassword ) : string
URIish ( URIish u ) : System
system ( ) : SystemReader

Method Details

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

SetHost() public method

Return a new URI matching this one, but with a different host.
public SetHost ( string n ) : URIish
n string the new value for host.
return URIish

SetPass() public method

Return a new URI matching this one, but with a different password.
public SetPass ( string n ) : URIish
n string the new value for password.
return URIish

SetPath() public method

Return a new URI matching this one, but with a different path.
public SetPath ( string n ) : URIish
n string the new value for path.
return URIish

SetPort() public method

Return a new URI matching this one, but with a different port.
public SetPort ( int n ) : URIish
n int The new value for port.
return URIish

SetScheme() public method

Return a new URI matching this one, but with a different scheme.
public SetScheme ( string n ) : URIish
n string the new value for scheme.
return URIish

SetUser() public method

Return a new URI matching this one, but with a different user.
public SetUser ( string n ) : URIish
n string the new value for user.
return URIish

ToPrivateString() public method

Obtain the string form of the URI, with the password included.
public ToPrivateString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

URIish() public method

Create an empty, non-configured URI.
public URIish ( ) : System
return System

URIish() public method

Construct a URIish from a standard URL.
public URIish ( Uri u ) : System
u System.Uri The source URL to convert from.
return System

URIish() public method

Parse and construct an URIish from a string
public URIish ( string s ) : System
s string
return System