mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
Stubbed implementation of IStatisticsClient
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
public class StatisticsClient : ApiClient, IStatisticsClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Instantiates a new GitHub Statistics API client.
|
||||
/// </summary>
|
||||
/// <param name="apiConnection">An API connection</param>
|
||||
public StatisticsClient(IApiConnection apiConnection) : base(apiConnection)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="User"/> for the current authenticated user.
|
||||
/// </summary>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns>A <see cref="User"/></returns>
|
||||
public Task<Contributor> Contributors()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -74,6 +74,7 @@
|
||||
<Compile Include="Clients\OrganizationMembersClient.cs" />
|
||||
<Compile Include="Clients\ReferencesClient.cs" />
|
||||
<Compile Include="Clients\StarredClient.cs" />
|
||||
<Compile Include="Clients\StatisticsClient.cs" />
|
||||
<Compile Include="Clients\TagsClient.cs" />
|
||||
<Compile Include="Clients\TreesClient.cs" />
|
||||
<Compile Include="Clients\TeamsClient.cs" />
|
||||
|
||||
@@ -104,6 +104,7 @@
|
||||
<Compile Include="Clients\RepositoriesClient.cs" />
|
||||
<Compile Include="Clients\SshKeysClient.cs" />
|
||||
<Compile Include="Clients\StarredClient.cs" />
|
||||
<Compile Include="Clients\StatisticsClient.cs" />
|
||||
<Compile Include="Clients\TagsClient.cs" />
|
||||
<Compile Include="Clients\TreesClient.cs" />
|
||||
<Compile Include="Clients\TeamsClient.cs" />
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Models\Request\NewSubscription.cs" />
|
||||
<Compile Include="Clients\StatisticsClient.cs" />
|
||||
<Compile Include="Models\Request\SearchCodeRequest.cs" />
|
||||
<Compile Include="Models\Request\SearchIssuesRequest.cs" />
|
||||
<Compile Include="Models\Request\SearchQualifierOperator.cs" />
|
||||
|
||||
Reference in New Issue
Block a user