marking feature as obsolete

This commit is contained in:
Brendan Forster
2016-02-02 11:35:58 +10:30
parent 01c185f5bf
commit 4078f19a3a
4 changed files with 6 additions and 0 deletions
@@ -209,6 +209,7 @@ namespace Octokit.Reactive
/// </remarks>
/// <param name="clientId">ClientID of the OAuth application for the token</param>
/// <returns></returns>
[Obsolete("This feature is no longer supported in the GitHub API and will be removed in a future release")]
IObservable<Unit> RevokeAllApplicationAuthentications(string clientId);
/// <summary>
@@ -294,6 +294,7 @@ namespace Octokit.Reactive
/// </remarks>
/// <param name="clientId">ClientID of the OAuth application for the token</param>
/// <returns></returns>
[Obsolete("This feature is no longer supported in the GitHub API and will be removed in a future release")]
public IObservable<Unit> RevokeAllApplicationAuthentications(string clientId)
{
Ensure.ArgumentNotNullOrEmptyString("clientId", clientId);
+2
View File
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using System;
#if NET_45
using System.Collections.Generic;
#endif
@@ -380,6 +381,7 @@ namespace Octokit
/// </remarks>
/// <param name="clientId">ClientID of the OAuth application for the token</param>
/// <returns>A <see cref="Task"/> for the request's execution.</returns>
[Obsolete("This feature is no longer supported in the GitHub API and will be removed in a future release")]
public Task RevokeAllApplicationAuthentications(string clientId)
{
Ensure.ArgumentNotNullOrEmptyString(clientId, "clientId");
+2
View File
@@ -1,5 +1,6 @@
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using System;
#if NET_45
using System.Collections.Generic;
#endif
@@ -229,6 +230,7 @@ namespace Octokit
/// </remarks>
/// <param name="clientId">ClientID of the OAuth application for the token</param>
/// <returns>A <see cref="Task"/> for the request's execution.</returns>
[Obsolete("This feature is no longer supported in the GitHub API and will be removed in a future release")]
Task RevokeAllApplicationAuthentications(string clientId);
/// <summary>