mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
add base Enterprise client to GitHubClient
This commit is contained in:
@@ -98,6 +98,7 @@ namespace Octokit
|
||||
GitDatabase = new GitDatabaseClient(apiConnection);
|
||||
Search = new SearchClient(apiConnection);
|
||||
Deployment = new DeploymentsClient(apiConnection);
|
||||
Enterprise = new EnterpriseClient(apiConnection);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -276,6 +277,14 @@ namespace Octokit
|
||||
/// </remarks>
|
||||
public IDeploymentsClient Deployment { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Access GitHub's Enterprise API.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Refer to the API docmentation for more information: https://developer.github.com/v3/enterprise/
|
||||
/// </remarks>
|
||||
public IEnterpriseClient Enterprise { get; private set; }
|
||||
|
||||
static Uri FixUpBaseUri(Uri uri)
|
||||
{
|
||||
Ensure.ArgumentNotNull(uri, "uri");
|
||||
|
||||
Reference in New Issue
Block a user