Correct the obsolete message

This commit is contained in:
Haacked
2014-12-31 10:55:09 -08:00
parent 0876fd3902
commit 096eba6d59
4 changed files with 8 additions and 8 deletions

View File

@@ -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>

View File

@@ -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();

View File

@@ -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>

View File

@@ -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);