C# Class GitHub.Api.ApiClient

Inheritance: IApiClient
Afficher le fichier Open project: github/VisualStudio

Private Properties

Свойство Type Description
Configure void
GetFingerprint string
GetMachineIdentifier string
GetMachineNameSafe string
GetSha256Hash string
GetUserInternal Task

Méthodes publiques

Méthode Description
ApiClient ( HostAddress hostAddress, IObservableGitHubClient gitHubClient ) : System
CreateGist ( NewGist newGist ) : IObservable
CreatePullRequest ( NewPullRequest pullRequest, string owner, string repo ) : IObservable
CreateRepository ( NewRepository repository, string login, bool isUser ) : IObservable
DeleteApplicationAuthorization ( int id, [ twoFactorAuthorizationCode ) : IObservable
GetBranches ( string owner, string repo ) : IObservable
GetFileContents ( string owner, string name, string reference, string path ) : IObservable
GetGitIgnoreTemplates ( ) : IObservable
GetLicenses ( ) : IObservable
GetOrCreateApplicationAuthenticationCode ( Func twoFactorChallengeHander, string authenticationCode = null, bool useOldScopes = false, bool useFingerPrint = true ) : IObservable
GetOrganizations ( ) : IObservable
GetPullRequest ( string owner, string name, int number ) : IObservable
GetPullRequestFiles ( string owner, string name, int number ) : IObservable
GetPullRequestsForRepository ( string owner, string name ) : IObservable
GetRepositories ( ) : IObservable
GetRepositoriesForOrganization ( string organization ) : IObservable
GetRepository ( string owner, string repo ) : IObservable
GetUser ( ) : IObservable
GetUserRepositories ( RepositoryType repositoryType ) : IObservable

Private Methods

Méthode Description
Configure ( ) : void
GetFingerprint ( ) : string
GetMachineIdentifier ( ) : string
GetMachineNameSafe ( ) : string
GetSha256Hash ( string input ) : string
GetUserInternal ( ) : Task

Method Details

ApiClient() public méthode

public ApiClient ( HostAddress hostAddress, IObservableGitHubClient gitHubClient ) : System
hostAddress GitHub.Primitives.HostAddress
gitHubClient IObservableGitHubClient
Résultat System

CreateGist() public méthode

public CreateGist ( NewGist newGist ) : IObservable
newGist NewGist
Résultat IObservable

CreatePullRequest() public méthode

public CreatePullRequest ( NewPullRequest pullRequest, string owner, string repo ) : IObservable
pullRequest NewPullRequest
owner string
repo string
Résultat IObservable

CreateRepository() public méthode

public CreateRepository ( NewRepository repository, string login, bool isUser ) : IObservable
repository NewRepository
login string
isUser bool
Résultat IObservable

DeleteApplicationAuthorization() public méthode

public DeleteApplicationAuthorization ( int id, [ twoFactorAuthorizationCode ) : IObservable
id int
twoFactorAuthorizationCode [
Résultat IObservable

GetBranches() public méthode

public GetBranches ( string owner, string repo ) : IObservable
owner string
repo string
Résultat IObservable

GetFileContents() public méthode

public GetFileContents ( string owner, string name, string reference, string path ) : IObservable
owner string
name string
reference string
path string
Résultat IObservable

GetGitIgnoreTemplates() public méthode

public GetGitIgnoreTemplates ( ) : IObservable
Résultat IObservable

GetLicenses() public méthode

public GetLicenses ( ) : IObservable
Résultat IObservable

GetOrCreateApplicationAuthenticationCode() public méthode

public GetOrCreateApplicationAuthenticationCode ( Func twoFactorChallengeHander, string authenticationCode = null, bool useOldScopes = false, bool useFingerPrint = true ) : IObservable
twoFactorChallengeHander Func
authenticationCode string
useOldScopes bool
useFingerPrint bool
Résultat IObservable

GetOrganizations() public méthode

public GetOrganizations ( ) : IObservable
Résultat IObservable

GetPullRequest() public méthode

public GetPullRequest ( string owner, string name, int number ) : IObservable
owner string
name string
number int
Résultat IObservable

GetPullRequestFiles() public méthode

public GetPullRequestFiles ( string owner, string name, int number ) : IObservable
owner string
name string
number int
Résultat IObservable

GetPullRequestsForRepository() public méthode

public GetPullRequestsForRepository ( string owner, string name ) : IObservable
owner string
name string
Résultat IObservable

GetRepositories() public méthode

public GetRepositories ( ) : IObservable
Résultat IObservable

GetRepositoriesForOrganization() public méthode

public GetRepositoriesForOrganization ( string organization ) : IObservable
organization string
Résultat IObservable

GetRepository() public méthode

public GetRepository ( string owner, string repo ) : IObservable
owner string
repo string
Résultat IObservable

GetUser() public méthode

public GetUser ( ) : IObservable
Résultat IObservable

GetUserRepositories() public méthode

public GetUserRepositories ( RepositoryType repositoryType ) : IObservable
repositoryType RepositoryType
Résultat IObservable