diff --git a/Octokit.Reactive/Clients/IObservableStatisticsClient.cs b/Octokit.Reactive/Clients/IObservableStatisticsClient.cs
index 442e66ef..798602c4 100644
--- a/Octokit.Reactive/Clients/IObservableStatisticsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableStatisticsClient.cs
@@ -16,14 +16,12 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
IObservable> GetContributors(string owner, string name);
///
/// Returns a list of for the given repository
///
/// The ID of the repository
- ///
IObservable> GetContributors(int repositoryId);
///
@@ -31,14 +29,12 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
IObservable GetCommitActivity(string owner, string name);
///
/// Returns the last year of commit activity grouped by week.
///
/// The ID of the repository
- ///
IObservable GetCommitActivity(int repositoryId);
///
@@ -46,14 +42,12 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
IObservable GetCodeFrequency(string owner, string name);
///
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
///
/// The ID of the repository
- ///
IObservable GetCodeFrequency(int repositoryId);
///
@@ -61,14 +55,12 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
IObservable GetParticipation(string owner, string name);
///
/// Returns the total commit counts for the owner and total commit counts in total.
///
/// The ID of the repository
- ///
IObservable GetParticipation(int repositoryId);
///
@@ -76,14 +68,12 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
IObservable GetPunchCard(string owner, string name);
///
/// Returns a list of the number of commits per hour in each day
///
/// The ID of the repository
- ///
IObservable GetPunchCard(int repositoryId);
}
}
\ No newline at end of file
diff --git a/Octokit.Reactive/Clients/ObservableStatisticsClient.cs b/Octokit.Reactive/Clients/ObservableStatisticsClient.cs
index 9163485d..f67ecfbe 100644
--- a/Octokit.Reactive/Clients/ObservableStatisticsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableStatisticsClient.cs
@@ -26,7 +26,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
public IObservable> GetContributors(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -39,7 +38,6 @@ namespace Octokit.Reactive
/// Returns a list of for the given repository
///
/// The ID of the repository
- ///
public IObservable> GetContributors(int repositoryId)
{
return _client.Repository.Statistics.GetContributors(repositoryId).ToObservable();
@@ -50,7 +48,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
public IObservable GetCommitActivity(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -63,7 +60,6 @@ namespace Octokit.Reactive
/// Returns the last year of commit activity grouped by week.
///
/// The ID of the repository
- ///
public IObservable GetCommitActivity(int repositoryId)
{
return _client.Repository.Statistics.GetCommitActivity(repositoryId).ToObservable();
@@ -74,7 +70,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
public IObservable GetCodeFrequency(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -87,7 +82,6 @@ namespace Octokit.Reactive
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
///
/// The ID of the repository
- ///
public IObservable GetCodeFrequency(int repositoryId)
{
return _client.Repository.Statistics.GetCodeFrequency(repositoryId).ToObservable();
@@ -98,7 +92,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
public IObservable GetParticipation(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -111,7 +104,6 @@ namespace Octokit.Reactive
/// Returns the total commit counts for the owner and total commit counts in total.
///
/// The ID of the repository
- ///
public IObservable GetParticipation(int repositoryId)
{
return _client.Repository.Statistics.GetParticipation(repositoryId).ToObservable();
@@ -122,7 +114,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
public IObservable GetPunchCard(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -135,7 +126,6 @@ namespace Octokit.Reactive
/// Returns a list of the number of commits per hour in each day
///
/// The ID of the repository
- ///
public IObservable GetPunchCard(int repositoryId)
{
return _client.Repository.Statistics.GetPunchCard(repositoryId).ToObservable();
diff --git a/Octokit/Clients/IStatisticsClient.cs b/Octokit/Clients/IStatisticsClient.cs
index e8a29071..6c7383cb 100644
--- a/Octokit/Clients/IStatisticsClient.cs
+++ b/Octokit/Clients/IStatisticsClient.cs
@@ -17,14 +17,12 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
Task> GetContributors(string owner, string name);
///
/// Returns a list of for the given repository
///
/// The ID of the repository
- ///
Task> GetContributors(int repositoryId);
///
@@ -33,7 +31,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
Task> GetContributors(string owner, string name, CancellationToken cancellationToken);
///
@@ -41,7 +38,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
Task> GetContributors(int repositoryId, CancellationToken cancellationToken);
///
@@ -49,14 +45,12 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
Task GetCommitActivity(string owner, string name);
///
/// Returns the last year of commit activity grouped by week.
///
/// The ID of the repository
- ///
Task GetCommitActivity(int repositoryId);
///
@@ -65,7 +59,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetCommitActivity(string owner, string name, CancellationToken cancellationToken);
///
@@ -73,7 +66,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetCommitActivity(int repositoryId, CancellationToken cancellationToken);
///
@@ -81,14 +73,12 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
Task GetCodeFrequency(string owner, string name);
///
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
///
/// The ID of the repository
- ///
Task GetCodeFrequency(int repositoryId);
///
@@ -97,7 +87,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetCodeFrequency(string owner, string name, CancellationToken cancellationToken);
///
@@ -105,7 +94,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetCodeFrequency(int repositoryId, CancellationToken cancellationToken);
///
@@ -113,14 +101,12 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
Task GetParticipation(string owner, string name);
///
/// Returns the total commit counts for the owner and total commit counts in total.
///
/// The ID of the repository
- ///
Task GetParticipation(int repositoryId);
///
@@ -129,7 +115,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetParticipation(string owner, string name, CancellationToken cancellationToken);
///
@@ -137,7 +122,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetParticipation(int repositoryId, CancellationToken cancellationToken);
///
@@ -145,14 +129,12 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
Task GetPunchCard(string owner, string name);
///
/// Returns a list of the number of commits per hour in each day
///
/// The ID of the repository
- ///
Task GetPunchCard(int repositoryId);
///
@@ -161,7 +143,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetPunchCard(string owner, string name, CancellationToken cancellationToken);
///
@@ -169,7 +150,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
Task GetPunchCard(int repositoryId, CancellationToken cancellationToken);
}
}
\ No newline at end of file
diff --git a/Octokit/Clients/StatisticsClient.cs b/Octokit/Clients/StatisticsClient.cs
index 07c1a6d6..a5305122 100644
--- a/Octokit/Clients/StatisticsClient.cs
+++ b/Octokit/Clients/StatisticsClient.cs
@@ -26,7 +26,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
public Task> GetContributors(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -39,7 +38,6 @@ namespace Octokit
/// Returns a list of for the given repository
///
/// The ID of the repository
- ///
public Task> GetContributors(int repositoryId)
{
return GetContributors(repositoryId, CancellationToken.None);
@@ -51,7 +49,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
public Task> GetContributors(string owner, string name, CancellationToken cancellationToken)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -65,7 +62,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
public Task> GetContributors(int repositoryId, CancellationToken cancellationToken)
{
return ApiConnection.GetQueuedOperation(ApiUrls.StatsContributors(repositoryId), cancellationToken);
@@ -76,7 +72,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
public Task GetCommitActivity(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -89,7 +84,6 @@ namespace Octokit
/// Returns the last year of commit activity grouped by week.
///
/// The ID of the repository
- ///
public Task GetCommitActivity(int repositoryId)
{
return GetCommitActivity(repositoryId, CancellationToken.None);
@@ -101,7 +95,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetCommitActivity(string owner, string name, CancellationToken cancellationToken)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -117,7 +110,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetCommitActivity(int repositoryId, CancellationToken cancellationToken)
{
var activity = await ApiConnection.GetQueuedOperation(
@@ -130,7 +122,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
public Task GetCodeFrequency(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -143,7 +134,6 @@ namespace Octokit
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
///
/// The ID of the repository
- ///
public Task GetCodeFrequency(int repositoryId)
{
return GetCodeFrequency(repositoryId, CancellationToken.None);
@@ -155,7 +145,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetCodeFrequency(string owner, string name, CancellationToken cancellationToken)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -171,7 +160,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetCodeFrequency(int repositoryId, CancellationToken cancellationToken)
{
var rawFrequencies = await ApiConnection.GetQueuedOperation(
@@ -184,7 +172,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
public Task GetParticipation(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -197,7 +184,6 @@ namespace Octokit
/// Returns the total commit counts for the owner and total commit counts in total.
///
/// The ID of the repository
- ///
public Task GetParticipation(int repositoryId)
{
return GetParticipation(repositoryId, CancellationToken.None);
@@ -209,7 +195,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetParticipation(string owner, string name, CancellationToken cancellationToken)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -225,7 +210,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetParticipation(int repositoryId, CancellationToken cancellationToken)
{
var result = await ApiConnection.GetQueuedOperation(
@@ -238,7 +222,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
public Task GetPunchCard(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -251,7 +234,6 @@ namespace Octokit
/// Returns a list of the number of commits per hour in each day
///
/// The ID of the repository
- ///
public Task GetPunchCard(int repositoryId)
{
return GetPunchCard(repositoryId, CancellationToken.None);
@@ -263,7 +245,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetPunchCard(string owner, string name, CancellationToken cancellationToken)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -279,7 +260,6 @@ namespace Octokit
///
/// The ID of the repository
/// A token used to cancel this potentially long running request
- ///
public async Task GetPunchCard(int repositoryId, CancellationToken cancellationToken)
{
var punchCardData = await ApiConnection.GetQueuedOperation(