From 91b059274c825d6e03ea0888274a906bc06f0d88 Mon Sep 17 00:00:00 2001 From: Amy Palamountain Date: Thu, 9 Jan 2014 22:14:06 +1300 Subject: [PATCH] Stubbed implementation of IStatisticsClient --- Octokit/Clients/StatisticsClient.cs | 26 ++++++++++++++++++++++++++ Octokit/Octokit-Mono.csproj | 1 + Octokit/Octokit-netcore45.csproj | 1 + Octokit/Octokit.csproj | 1 + 4 files changed, 29 insertions(+) create mode 100644 Octokit/Clients/StatisticsClient.cs diff --git a/Octokit/Clients/StatisticsClient.cs b/Octokit/Clients/StatisticsClient.cs new file mode 100644 index 00000000..70e702ba --- /dev/null +++ b/Octokit/Clients/StatisticsClient.cs @@ -0,0 +1,26 @@ +using System; +using System.Threading.Tasks; + +namespace Octokit +{ + public class StatisticsClient : ApiClient, IStatisticsClient + { + /// + /// Instantiates a new GitHub Statistics API client. + /// + /// An API connection + public StatisticsClient(IApiConnection apiConnection) : base(apiConnection) + { + } + + /// + /// Returns a for the current authenticated user. + /// + /// Thrown if the client is not authenticated. + /// A + public Task Contributors() + { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/Octokit/Octokit-Mono.csproj b/Octokit/Octokit-Mono.csproj index 49f44dda..cf173873 100644 --- a/Octokit/Octokit-Mono.csproj +++ b/Octokit/Octokit-Mono.csproj @@ -74,6 +74,7 @@ + diff --git a/Octokit/Octokit-netcore45.csproj b/Octokit/Octokit-netcore45.csproj index 73b72e19..0522d5da 100644 --- a/Octokit/Octokit-netcore45.csproj +++ b/Octokit/Octokit-netcore45.csproj @@ -104,6 +104,7 @@ + diff --git a/Octokit/Octokit.csproj b/Octokit/Octokit.csproj index 28eb78df..f0915d70 100644 --- a/Octokit/Octokit.csproj +++ b/Octokit/Octokit.csproj @@ -89,6 +89,7 @@ Code +