C# Класс GitHub.Primitives.HostAddress

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
GitHubDotComHostAddress HostAddress

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

Метод Описание
Create ( Uri hostUri ) : HostAddress

Creates a host address based on the hostUri based on the expected patterns for GitHub.com and GitHub Enterprise instances. The passed in URI can be any URL to the instance.

Create ( string host ) : HostAddress

Creates a host address from a host name or URL as a string.

Equals ( object obj ) : bool
GetHashCode ( ) : int
HostAddress ( ) : System
IsGitHubDotCom ( ) : bool
IsGitHubDotComUri ( Uri hostUri ) : bool
operator ( ) : bool

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

Метод Описание
HostAddress ( Uri enterpriseUri ) : System

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

Create() публичный статический Метод

Creates a host address based on the hostUri based on the expected patterns for GitHub.com and GitHub Enterprise instances. The passed in URI can be any URL to the instance.
public static Create ( Uri hostUri ) : HostAddress
hostUri System.Uri The URI to a GitHub or GitHub Enterprise instance.
Результат HostAddress

Create() публичный статический Метод

Creates a host address from a host name or URL as a string.
public static Create ( string host ) : HostAddress
host string
Результат HostAddress

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

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

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

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

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

public HostAddress ( ) : System
Результат System

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

public IsGitHubDotCom ( ) : bool
Результат bool

IsGitHubDotComUri() публичный статический Метод

public static IsGitHubDotComUri ( Uri hostUri ) : bool
hostUri System.Uri
Результат bool

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool

Описание свойств

GitHubDotComHostAddress публичное статическое свойство

public static HostAddress,GitHub.Primitives GitHubDotComHostAddress
Результат HostAddress