Stubbed implementation of IStatisticsClient

This commit is contained in:
Amy Palamountain
2014-01-09 22:14:06 +13:00
parent 92d3d18838
commit 91b059274c
4 changed files with 29 additions and 0 deletions
+26
View File
@@ -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();
}
}
}
+1
View File
@@ -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" />
+1
View File
@@ -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" />
+1
View File
@@ -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" />