mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
IRepositoriesClient.RepositoryComments -> IRepositoriesClient.Comment
Fixes #1031
This commit is contained in:
@@ -26,7 +26,10 @@ namespace Octokit.Reactive
|
||||
Deployment = new ObservableDeploymentsClient(client);
|
||||
Statistics = new ObservableStatisticsClient(client);
|
||||
PullRequest = new ObservablePullRequestsClient(client);
|
||||
#pragma warning disable CS0618 // Type or member is obsolete
|
||||
RepositoryComments = new ObservableRepositoryCommentsClient(client);
|
||||
#pragma warning restore CS0618 // Type or member is obsolete
|
||||
Comment = new ObservableRepositoryCommentsClient(client);
|
||||
Commits = new ObservableRepositoryCommitsClient(client);
|
||||
DeployKeys = new ObservableRepositoryDeployKeysClient(client);
|
||||
Content = new ObservableRepositoryContentsClient(client);
|
||||
@@ -210,8 +213,17 @@ namespace Octokit.Reactive
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/repos/comments/">Repository Comments API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
[Obsolete("Comment information is now available under the Comment property. This will be removed in a future update.")]
|
||||
public IObservableRepositoryCommentsClient RepositoryComments { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Client for GitHub's Repository Comments API.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/repos/comments/">Repository Comments API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
public IObservableRepositoryCommentsClient Comment { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's Repository Hooks API.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user