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.
Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

SetHost() public méthode

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

SetPass() public méthode

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

SetPath() public méthode

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

SetPort() public méthode

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

SetScheme() public méthode

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

SetUser() public méthode

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

ToPrivateString() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string

URIish() public méthode

Create an empty, non-configured URI.
public URIish ( ) : System
Résultat System

URIish() public méthode

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

URIish() public méthode

Parse and construct an URIish from a string
public URIish ( string s ) : System
s string
Résultat System