C# Class GitHub.Api.SimpleApiClient

Inheritance: ISimpleApiClient
Mostra file Open project: github/VisualStudio Class Usage Examples

Public Methods

Method Description
GetRepository ( ) : Task
HasWiki ( ) : bool
IsAuthenticated ( ) : bool
IsEnterprise ( ) : bool
SimpleApiClient ( UriString repoUrl, IGitHubClient githubClient, Lazy enterpriseProbe, Lazy wikiProbe ) : System

Private Methods

Method Description
GetRepositoryInternal ( ) : Task
HasWikiInternal ( Octokit.Repository repo ) : Task
IsEnterpriseInternal ( ) : Task

Method Details

GetRepository() public method

public GetRepository ( ) : Task
return Task

HasWiki() public method

public HasWiki ( ) : bool
return bool

IsAuthenticated() public method

public IsAuthenticated ( ) : bool
return bool

IsEnterprise() public method

public IsEnterprise ( ) : bool
return bool

SimpleApiClient() public method

public SimpleApiClient ( UriString repoUrl, IGitHubClient githubClient, Lazy enterpriseProbe, Lazy wikiProbe ) : System
repoUrl UriString
githubClient IGitHubClient
enterpriseProbe Lazy
wikiProbe Lazy
return System