diff --git a/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs b/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs
index 8807da30..5d304c5f 100644
--- a/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs
@@ -21,7 +21,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
IObservable GetAllForIssue(string owner, string name, int number);
///
@@ -32,7 +31,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The number of the issue
- ///
IObservable GetAllForIssue(int repositoryId, int number);
///
@@ -45,7 +43,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// Options for changing the API response
- ///
IObservable GetAllForIssue(string owner, string name, int number, ApiOptions options);
///
@@ -57,7 +54,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// Options for changing the API response
- ///
IObservable GetAllForIssue(int repositoryId, int number, ApiOptions options);
///
@@ -68,7 +64,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
IObservable GetAllForRepository(string owner, string name);
///
@@ -78,7 +73,6 @@ namespace Octokit.Reactive
/// See the API documentation for more information.
///
/// The ID of the repository
- ///
IObservable GetAllForRepository(int repositoryId);
///
@@ -90,7 +84,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// Options for changing the API response
- ///
IObservable GetAllForRepository(string owner, string name, ApiOptions options);
///
@@ -101,7 +94,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// Options for changing the API response
- ///
IObservable GetAllForRepository(int repositoryId, ApiOptions options);
///
@@ -113,7 +105,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The number of the milestone
- ///
IObservable GetAllForMilestone(string owner, string name, int number);
///
@@ -124,7 +115,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The number of the milestone
- ///
IObservable GetAllForMilestone(int repositoryId, int number);
///
@@ -137,7 +127,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
IObservable GetAllForMilestone(string owner, string name, int number, ApiOptions options);
///
@@ -149,7 +138,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
IObservable GetAllForMilestone(int repositoryId, int number, ApiOptions options);
///
@@ -161,7 +149,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
IObservable Get(string owner, string name, string labelName);
@@ -174,7 +161,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The name of the label
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
IObservable Get(int repositoryId, string labelName);
@@ -188,7 +174,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
IObservable Delete(string owner, string name, string labelName);
///
@@ -199,7 +184,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The name of the label
- ///
IObservable Delete(int repositoryId, string labelName);
///
@@ -211,7 +195,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The data for the label to be created
- ///
IObservable Create(string owner, string name, NewLabel newLabel);
///
@@ -222,7 +205,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The data for the label to be created
- ///
IObservable Create(int repositoryId, NewLabel newLabel);
///
@@ -235,7 +217,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The name of the label
/// The data for the label to be updated
- ///
IObservable Update(string owner, string name, string labelName, LabelUpdate labelUpdate);
///
@@ -247,7 +228,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The name of the label
/// The data for the label to be updated
- ///
IObservable Update(int repositoryId, string labelName, LabelUpdate labelUpdate);
///
@@ -260,7 +240,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// The names of the labels to add
- ///
IObservable AddToIssue(string owner, string name, int number, string[] labels);
///
@@ -272,7 +251,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// The names of the labels to add
- ///
IObservable AddToIssue(int repositoryId, int number, string[] labels);
///
@@ -285,7 +263,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// The name of the label to remove
- ///
IObservable RemoveFromIssue(string owner, string name, int number, string labelName);
///
@@ -297,7 +274,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// The name of the label to remove
- ///
IObservable RemoveFromIssue(int repositoryId, int number, string labelName);
///
@@ -310,7 +286,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// The names of the labels to set
- ///
IObservable ReplaceAllForIssue(string owner, string name, int number, string[] labels);
///
@@ -322,7 +297,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// The names of the labels to set
- ///
IObservable ReplaceAllForIssue(int repositoryId, int number, string[] labels);
///
@@ -334,7 +308,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
IObservable RemoveAllFromIssue(string owner, string name, int number);
///
@@ -345,7 +318,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The number of the issue
- ///
IObservable RemoveAllFromIssue(int repositoryId, int number);
}
}
diff --git a/Octokit.Reactive/Clients/ObservableIssuesLabelsClient.cs b/Octokit.Reactive/Clients/ObservableIssuesLabelsClient.cs
index de55ea4d..1c684e44 100644
--- a/Octokit.Reactive/Clients/ObservableIssuesLabelsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableIssuesLabelsClient.cs
@@ -34,7 +34,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
public IObservable GetAllForIssue(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -51,7 +50,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The number of the issue
- ///
public IObservable GetAllForIssue(int repositoryId, int number)
{
return GetAllForIssue(repositoryId, number, ApiOptions.None);
@@ -67,7 +65,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// Options for changing the API response
- ///
public IObservable GetAllForIssue(string owner, string name, int number, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -86,7 +83,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// Options for changing the API response
- ///
public IObservable GetAllForIssue(int repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -102,7 +98,6 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- ///
public IObservable GetAllForRepository(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -118,7 +113,6 @@ namespace Octokit.Reactive
/// See the API documentation for more information.
///
/// The ID of the repository
- ///
public IObservable GetAllForRepository(int repositoryId)
{
return GetAllForRepository(repositoryId, ApiOptions.None);
@@ -133,7 +127,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// Options for changing the API response
- ///
public IObservable GetAllForRepository(string owner, string name, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -151,7 +144,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// Options for changing the API response
- ///
public IObservable GetAllForRepository(int repositoryId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -168,7 +160,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The number of the milestone
- ///
public IObservable GetAllForMilestone(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -185,7 +176,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The number of the milestone
- ///
public IObservable GetAllForMilestone(int repositoryId, int number)
{
return GetAllForMilestone(repositoryId, number, ApiOptions.None);
@@ -201,7 +191,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
public IObservable GetAllForMilestone(string owner, string name, int number, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -220,7 +209,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
public IObservable GetAllForMilestone(int repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -237,7 +225,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
public IObservable Get(string owner, string name, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -255,7 +242,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The name of the label
- ///
public IObservable Get(int repositoryId, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -272,7 +258,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
public IObservable Delete(string owner, string name, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -290,7 +275,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The name of the label
- ///
public IObservable Delete(int repositoryId, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -307,7 +291,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The data for the label to be created
- ///
public IObservable Create(string owner, string name, NewLabel newLabel)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -325,7 +308,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The data for the label to be created
- ///
public IObservable Create(int repositoryId, NewLabel newLabel)
{
Ensure.ArgumentNotNull(newLabel, "newLabel");
@@ -343,7 +325,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The name of the label
/// The data for the label to be updated
- ///
public IObservable Update(string owner, string name, string labelName, LabelUpdate labelUpdate)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -363,7 +344,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The name of the label
/// The data for the label to be updated
- ///
public IObservable Update(int repositoryId, string labelName, LabelUpdate labelUpdate)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -382,7 +362,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// The names of the labels to add
- ///
public IObservable AddToIssue(string owner, string name, int number, string[] labels)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -403,7 +382,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// The names of the labels to add
- ///
public IObservable AddToIssue(int repositoryId, int number, string[] labels)
{
Ensure.ArgumentNotNull(labels, "labels");
@@ -423,7 +401,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// The name of the label to remove
- ///
public IObservable RemoveFromIssue(string owner, string name, int number, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -442,7 +419,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// The name of the label to remove
- ///
public IObservable RemoveFromIssue(int repositoryId, int number, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -460,7 +436,6 @@ namespace Octokit.Reactive
/// The name of the repository
/// The number of the issue
/// The names of the labels to set
- ///
public IObservable ReplaceAllForIssue(string owner, string name, int number, string[] labels)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -481,7 +456,6 @@ namespace Octokit.Reactive
/// The ID of the repository
/// The number of the issue
/// The names of the labels to set
- ///
public IObservable ReplaceAllForIssue(int repositoryId, int number, string[] labels)
{
Ensure.ArgumentNotNull(labels, "labels");
@@ -500,7 +474,6 @@ namespace Octokit.Reactive
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
public IObservable RemoveAllFromIssue(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -517,7 +490,6 @@ namespace Octokit.Reactive
///
/// The ID of the repository
/// The number of the issue
- ///
public IObservable RemoveAllFromIssue(int repositoryId, int number)
{
return _client.RemoveAllFromIssue(repositoryId, number).ToObservable();
diff --git a/Octokit/Clients/IIssuesLabelsClient.cs b/Octokit/Clients/IIssuesLabelsClient.cs
index 892211c6..e04f750f 100644
--- a/Octokit/Clients/IIssuesLabelsClient.cs
+++ b/Octokit/Clients/IIssuesLabelsClient.cs
@@ -21,7 +21,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
Task> GetAllForIssue(string owner, string name, int number);
///
@@ -32,7 +31,6 @@ namespace Octokit
///
/// The ID of the repository
/// The number of the issue
- ///
Task> GetAllForIssue(int repositoryId, int number);
///
@@ -45,7 +43,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// Options for changing the API response
- ///
Task> GetAllForIssue(string owner, string name, int number, ApiOptions options);
///
@@ -57,7 +54,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// Options for changing the API response
- ///
Task> GetAllForIssue(int repositoryId, int number, ApiOptions options);
///
@@ -68,7 +64,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
Task> GetAllForRepository(string owner, string name);
///
@@ -78,7 +73,6 @@ namespace Octokit
/// See the API documentation for more information.
///
/// The ID of the repository
- ///
Task> GetAllForRepository(int repositoryId);
///
@@ -90,7 +84,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// Options for changing the API response
- ///
Task> GetAllForRepository(string owner, string name, ApiOptions options);
///
@@ -101,7 +94,6 @@ namespace Octokit
///
/// The ID of the repository
/// Options for changing the API response
- ///
Task> GetAllForRepository(int repositoryId, ApiOptions options);
///
@@ -113,7 +105,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The number of the milestone
- ///
Task> GetAllForMilestone(string owner, string name, int number);
///
@@ -124,7 +115,6 @@ namespace Octokit
///
/// The ID of the repository
/// The number of the milestone
- ///
Task> GetAllForMilestone(int repositoryId, int number);
///
@@ -137,7 +127,6 @@ namespace Octokit
/// The name of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
Task> GetAllForMilestone(string owner, string name, int number, ApiOptions options);
///
@@ -149,7 +138,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
Task> GetAllForMilestone(int repositoryId, int number, ApiOptions options);
///
@@ -161,7 +149,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
Task Get(string owner, string name, string labelName);
@@ -174,7 +161,6 @@ namespace Octokit
///
/// The ID of the repository
/// The name of the label
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
Task Get(int repositoryId, string labelName);
@@ -188,7 +174,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
Task Delete(string owner, string name, string labelName);
///
@@ -199,7 +184,6 @@ namespace Octokit
///
/// The ID of the repository
/// The name of the label
- ///
Task Delete(int repositoryId, string labelName);
///
@@ -211,7 +195,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The data for the label to be created
- ///
Task Create(string owner, string name, NewLabel newLabel);
///
@@ -222,7 +205,6 @@ namespace Octokit
///
/// The ID of the repository
/// The data for the label to be created
- ///
Task Create(int repositoryId, NewLabel newLabel);
///
@@ -235,7 +217,6 @@ namespace Octokit
/// The name of the repository
/// The name of the label
/// The data for the label to be updated
- ///
Task Update(string owner, string name, string labelName, LabelUpdate labelUpdate);
///
@@ -247,7 +228,6 @@ namespace Octokit
/// The ID of the repository
/// The name of the label
/// The data for the label to be updated
- ///
Task Update(int repositoryId, string labelName, LabelUpdate labelUpdate);
///
@@ -260,7 +240,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// The names of the labels to add
- ///
Task> AddToIssue(string owner, string name, int number, string[] labels);
///
@@ -272,7 +251,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// The names of the labels to add
- ///
Task> AddToIssue(int repositoryId, int number, string[] labels);
///
@@ -285,7 +263,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// The name of the label to remove
- ///
Task RemoveFromIssue(string owner, string name, int number, string labelName);
///
@@ -297,7 +274,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// The name of the label to remove
- ///
Task RemoveFromIssue(int repositoryId, int number, string labelName);
///
@@ -310,7 +286,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// The names of the labels to set
- ///
Task> ReplaceAllForIssue(string owner, string name, int number, string[] labels);
///
@@ -322,7 +297,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// The names of the labels to set
- ///
Task> ReplaceAllForIssue(int repositoryId, int number, string[] labels);
///
@@ -334,7 +308,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
Task RemoveAllFromIssue(string owner, string name, int number);
///
@@ -345,7 +318,6 @@ namespace Octokit
///
/// The ID of the repository
/// The number of the issue
- ///
Task RemoveAllFromIssue(int repositoryId, int number);
}
}
\ No newline at end of file
diff --git a/Octokit/Clients/IssuesLabelsClient.cs b/Octokit/Clients/IssuesLabelsClient.cs
index 0e672357..100a8d82 100644
--- a/Octokit/Clients/IssuesLabelsClient.cs
+++ b/Octokit/Clients/IssuesLabelsClient.cs
@@ -25,7 +25,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
public Task> GetAllForIssue(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -42,7 +41,6 @@ namespace Octokit
///
/// The ID of the repository
/// The number of the issue
- ///
public Task> GetAllForIssue(int repositoryId, int number)
{
return GetAllForIssue(repositoryId, number, ApiOptions.None);
@@ -58,7 +56,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// Options for changing the API response
- ///
public Task> GetAllForIssue(string owner, string name, int number, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -77,7 +74,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// Options for changing the API response
- ///
public Task> GetAllForIssue(int repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -93,7 +89,6 @@ namespace Octokit
///
/// The owner of the repository
/// The name of the repository
- ///
public Task> GetAllForRepository(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -109,7 +104,6 @@ namespace Octokit
/// See the API documentation for more information.
///
/// The ID of the repository
- ///
public Task> GetAllForRepository(int repositoryId)
{
return GetAllForRepository(repositoryId, ApiOptions.None);
@@ -124,7 +118,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// Options for changing the API response
- ///
public Task> GetAllForRepository(string owner, string name, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -142,7 +135,6 @@ namespace Octokit
///
/// The ID of the repository
/// Options for changing the API response
- ///
public Task> GetAllForRepository(int repositoryId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -159,7 +151,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The number of the milestone
- ///
public Task> GetAllForMilestone(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -176,7 +167,6 @@ namespace Octokit
///
/// The ID of the repository
/// The number of the milestone
- ///
public Task> GetAllForMilestone(int repositoryId, int number)
{
return GetAllForMilestone(repositoryId, number, ApiOptions.None);
@@ -192,7 +182,6 @@ namespace Octokit
/// The name of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
public Task> GetAllForMilestone(string owner, string name, int number, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -211,7 +200,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the milestone
/// Options for changing the API response
- ///
public Task> GetAllForMilestone(int repositoryId, int number, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -228,7 +216,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
public Task Get(string owner, string name, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -246,7 +233,6 @@ namespace Octokit
///
/// The ID of the repository
/// The name of the label
- ///
public Task Get(int repositoryId, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -263,7 +249,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The name of the label
- ///
public Task Delete(string owner, string name, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -281,7 +266,6 @@ namespace Octokit
///
/// The ID of the repository
/// The name of the label
- ///
public Task Delete(int repositoryId, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -298,7 +282,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The data for the label to be created
- ///
public Task Create(string owner, string name, NewLabel newLabel)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -316,7 +299,6 @@ namespace Octokit
///
/// The ID of the repository
/// The data for the label to be created
- ///
public Task Create(int repositoryId, NewLabel newLabel)
{
Ensure.ArgumentNotNull(newLabel, "newLabel");
@@ -334,7 +316,6 @@ namespace Octokit
/// The name of the repository
/// The name of the label
/// The data for the label to be updated
- ///
public Task Update(string owner, string name, string labelName, LabelUpdate labelUpdate)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -354,7 +335,6 @@ namespace Octokit
/// The ID of the repository
/// The name of the label
/// The data for the label to be updated
- ///
public Task Update(int repositoryId, string labelName, LabelUpdate labelUpdate)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -373,7 +353,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// The names of the labels to add
- ///
public Task> AddToIssue(string owner, string name, int number, string[] labels)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -392,7 +371,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// The names of the labels to add
- ///
public Task> AddToIssue(int repositoryId, int number, string[] labels)
{
Ensure.ArgumentNotNull(labels, "labels");
@@ -410,7 +388,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// The name of the label to remove
- ///
public Task RemoveFromIssue(string owner, string name, int number, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -429,7 +406,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// The name of the label to remove
- ///
public Task RemoveFromIssue(int repositoryId, int number, string labelName)
{
Ensure.ArgumentNotNullOrEmptyString(labelName, "labelName");
@@ -447,7 +423,6 @@ namespace Octokit
/// The name of the repository
/// The number of the issue
/// The names of the labels to set
- ///
public Task> ReplaceAllForIssue(string owner, string name, int number, string[] labels)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -466,7 +441,6 @@ namespace Octokit
/// The ID of the repository
/// The number of the issue
/// The names of the labels to set
- ///
public Task> ReplaceAllForIssue(int repositoryId, int number, string[] labels)
{
Ensure.ArgumentNotNull(labels, "labels");
@@ -483,7 +457,6 @@ namespace Octokit
/// The owner of the repository
/// The name of the repository
/// The number of the issue
- ///
public Task RemoveAllFromIssue(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -500,7 +473,6 @@ namespace Octokit
///
/// The ID of the repository
/// The number of the issue
- ///
public Task RemoveAllFromIssue(int repositoryId, int number)
{
return ApiConnection.Delete(ApiUrls.IssueLabels(repositoryId, number));