[WIP] Rename Comment to ReviewComment (#1520)

* obsolete comment and add ReviewComment

* obsolete PullRequest.Comment and change to ReviewComment

* update ObservablePullRequestClient and interface to use ReviewComment

* fixed formatting issues
have Comment return new ReviewComment
This commit is contained in:
Brandon Everett
2016-12-31 04:21:40 -05:00
committed by Ryan Gribble
parent 195de689ff
commit 155073b138
8 changed files with 61 additions and 35 deletions
@@ -12,10 +12,16 @@ namespace Octokit.Reactive
public interface IObservablePullRequestsClient
{
/// <summary>
/// Client for managing comments.
/// Client for managing review comments.
/// </summary>
[Obsolete("Please use IObservablePullRequestsClient.ReviewComment. This will be removed in a future version")]
IObservablePullRequestReviewCommentsClient Comment { get; }
/// <summary>
/// Client for managing review comments.
/// </summary>
IObservablePullRequestReviewCommentsClient ReviewComment { get; }
/// <summary>
/// Gets a single Pull Request by number.
/// </summary>