C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Eq ( string a, string b ) : bool
Format ( bool includePassword ) : string
URIish ( URIish u ) : System
system ( ) : SystemReader

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

SetHost() публичный Метод

Return a new URI matching this one, but with a different host.
public SetHost ( string n ) : URIish
n string the new value for host.
Результат URIish

SetPass() публичный Метод

Return a new URI matching this one, but with a different password.
public SetPass ( string n ) : URIish
n string the new value for password.
Результат URIish

SetPath() публичный Метод

Return a new URI matching this one, but with a different path.
public SetPath ( string n ) : URIish
n string the new value for path.
Результат URIish

SetPort() публичный Метод

Return a new URI matching this one, but with a different port.
public SetPort ( int n ) : URIish
n int The new value for port.
Результат URIish

SetScheme() публичный Метод

Return a new URI matching this one, but with a different scheme.
public SetScheme ( string n ) : URIish
n string the new value for scheme.
Результат URIish

SetUser() публичный Метод

Return a new URI matching this one, but with a different user.
public SetUser ( string n ) : URIish
n string the new value for user.
Результат URIish

ToPrivateString() публичный Метод

Obtain the string form of the URI, with the password included.
public ToPrivateString ( ) : string
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string

URIish() публичный Метод

Create an empty, non-configured URI.
public URIish ( ) : System
Результат System

URIish() публичный Метод

Construct a URIish from a standard URL.
public URIish ( Uri u ) : System
u System.Uri The source URL to convert from.
Результат System

URIish() публичный Метод

Parse and construct an URIish from a string
public URIish ( string s ) : System
s string
Результат System