mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-21 06:35:11 +00:00
Correct the obsolete message
This commit is contained in:
@@ -79,7 +79,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadme. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadme. Please use that instead.")]
|
||||
IObservable<Readme> GetReadme(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
@@ -88,7 +88,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadmeHtml. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadmeHtml. Please use that instead.")]
|
||||
IObservable<string> GetReadmeHtml(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadme. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadme. Please use that instead.")]
|
||||
public IObservable<Readme> GetReadme(string owner, string name)
|
||||
{
|
||||
return _client.Content.GetReadme(owner, name).ToObservable();
|
||||
@@ -148,7 +148,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadmeHtml. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadmeHtml. Please use that instead.")]
|
||||
public IObservable<string> GetReadmeHtml(string owner, string name)
|
||||
{
|
||||
return _client.Content.GetReadmeHtml(owner, name).ToObservable();
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadme. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadme. Please use that instead.")]
|
||||
Task<Readme> GetReadme(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
@@ -158,7 +158,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadmeHtml. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadmeHtml. Please use that instead.")]
|
||||
Task<string> GetReadmeHtml(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -216,7 +216,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadme. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadme. Please use that instead.")]
|
||||
public Task<Readme> GetReadme(string owner, string name)
|
||||
{
|
||||
return Content.GetReadme(owner, name);
|
||||
@@ -232,7 +232,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
/// <returns></returns>
|
||||
[Obsolete("This method has been obsoleted by Contents.GetReadmeHtml. Please use that instead.")]
|
||||
[Obsolete("This method has been obsoleted by Content.GetReadmeHtml. Please use that instead.")]
|
||||
public Task<string> GetReadmeHtml(string owner, string name)
|
||||
{
|
||||
return Content.GetReadmeHtml(owner, name);
|
||||
|
||||
Reference in New Issue
Block a user