C# 클래스 GitHub.Primitives.HostAddress

파일 보기 프로젝트 열기: github/VisualStudio 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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