C# Class GitHub.Primitives.HostAddress

Afficher le fichier Open project: github/VisualStudio Class Usage Examples

Méthodes publiques

Свойство Type Description
GitHubDotComHostAddress HostAddress

Méthodes publiques

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

Private Methods

Méthode Description
HostAddress ( Uri enterpriseUri ) : System

Method Details

Create() public static méthode

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.
Résultat HostAddress

Create() public static méthode

Creates a host address from a host name or URL as a string.
public static Create ( string host ) : HostAddress
host string
Résultat HostAddress

Equals() public méthode

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

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

HostAddress() public méthode

public HostAddress ( ) : System
Résultat System

IsGitHubDotCom() public méthode

public IsGitHubDotCom ( ) : bool
Résultat bool

IsGitHubDotComUri() public static méthode

public static IsGitHubDotComUri ( Uri hostUri ) : bool
hostUri System.Uri
Résultat bool

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

GitHubDotComHostAddress public_oe static_oe property

public static HostAddress,GitHub.Primitives GitHubDotComHostAddress
Résultat HostAddress