C# 클래스 Octokit.GitHubClient

A Client for the GitHub API v3. You can read more about the api here: http://developer.github.com.
상속: IGitHubClient
파일 보기 프로젝트 열기: octokit/octokit.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GitHubApiUrl System.Uri

공개 메소드들

메소드 설명
GetLastApiInfo ( ) : Octokit.ApiInfo

Gets the latest API Info - this will be null if no API calls have been made

GitHubClient ( IConnection connection ) : System

Create a new instance of the GitHub API v3 client using the specified connection.

GitHubClient ( Octokit.ProductHeaderValue productInformation ) : System

Create a new instance of the GitHub API v3 client pointing to https://api.github.com/

GitHubClient ( Octokit.ProductHeaderValue productInformation, ICredentialStore credentialStore ) : System

Create a new instance of the GitHub API v3 client pointing to https://api.github.com/

GitHubClient ( Octokit.ProductHeaderValue productInformation, ICredentialStore credentialStore, Uri baseAddress ) : System

Create a new instance of the GitHub API v3 client pointing to the specified baseAddress.

GitHubClient ( Octokit.ProductHeaderValue productInformation, Uri baseAddress ) : System

Create a new instance of the GitHub API v3 client pointing to the specified baseAddress.

비공개 메소드들

메소드 설명
FixUpBaseUri ( Uri uri ) : Uri

메소드 상세

GetLastApiInfo() 공개 메소드

Gets the latest API Info - this will be null if no API calls have been made
public GetLastApiInfo ( ) : Octokit.ApiInfo
리턴 Octokit.ApiInfo

GitHubClient() 공개 메소드

Create a new instance of the GitHub API v3 client using the specified connection.
public GitHubClient ( IConnection connection ) : System
connection IConnection The underlying used to make requests
리턴 System

GitHubClient() 공개 메소드

Create a new instance of the GitHub API v3 client pointing to https://api.github.com/
public GitHubClient ( Octokit.ProductHeaderValue productInformation ) : System
productInformation Octokit.ProductHeaderValue /// The name (and optionally version) of the product using this library. This is sent to the server as part of /// the user agent for analytics purposes. ///
리턴 System

GitHubClient() 공개 메소드

Create a new instance of the GitHub API v3 client pointing to https://api.github.com/
public GitHubClient ( Octokit.ProductHeaderValue productInformation, ICredentialStore credentialStore ) : System
productInformation Octokit.ProductHeaderValue /// The name (and optionally version) of the product using this library. This is sent to the server as part of /// the user agent for analytics purposes. ///
credentialStore ICredentialStore Provides credentials to the client when making requests
리턴 System

GitHubClient() 공개 메소드

Create a new instance of the GitHub API v3 client pointing to the specified baseAddress.
public GitHubClient ( Octokit.ProductHeaderValue productInformation, ICredentialStore credentialStore, Uri baseAddress ) : System
productInformation Octokit.ProductHeaderValue /// The name (and optionally version) of the product using this library. This is sent to the server as part of /// the user agent for analytics purposes. ///
credentialStore ICredentialStore Provides credentials to the client when making requests
baseAddress System.Uri /// The address to point this client to. Typically used for GitHub Enterprise /// instances
리턴 System

GitHubClient() 공개 메소드

Create a new instance of the GitHub API v3 client pointing to the specified baseAddress.
public GitHubClient ( Octokit.ProductHeaderValue productInformation, Uri baseAddress ) : System
productInformation Octokit.ProductHeaderValue /// The name (and optionally version) of the product using this library. This is sent to the server as part of /// the user agent for analytics purposes. ///
baseAddress System.Uri /// The address to point this client to. Typically used for GitHub Enterprise /// instances
리턴 System

프로퍼티 상세

GitHubApiUrl 공개적으로 정적으로 프로퍼티

The base address for the GitHub API
public static Uri,System GitHubApiUrl
리턴 System.Uri