diff --git a/Octokit.Reactive/Clients/IObservablePullRequestsClient.cs b/Octokit.Reactive/Clients/IObservablePullRequestsClient.cs index cfb8d4e4..2da045e1 100644 --- a/Octokit.Reactive/Clients/IObservablePullRequestsClient.cs +++ b/Octokit.Reactive/Clients/IObservablePullRequestsClient.cs @@ -25,7 +25,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The number of the pull request - /// A result + /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "Method makes a network request")] IObservable Get(string owner, string name, int number); @@ -38,7 +38,7 @@ namespace Octokit.Reactive /// /// The ID of the repository /// The number of the pull request - /// A result + /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "Method makes a network request")] IObservable Get(int repositoryId, int number); @@ -51,7 +51,7 @@ namespace Octokit.Reactive /// /// The owner of the repository /// The name of the repository - /// A collection of results + /// IObservable GetAllForRepository(string owner, string name); /// @@ -61,7 +61,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#list-pull-requests /// /// The ID of the repository - /// A collection of results + /// IObservable GetAllForRepository(int repositoryId); /// @@ -73,7 +73,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// A collection of results + /// IObservable GetAllForRepository(string owner, string name, ApiOptions options); /// @@ -84,7 +84,7 @@ namespace Octokit.Reactive /// /// The ID of the repository /// Options for changing the API response - /// A collection of results + /// IObservable GetAllForRepository(int repositoryId, ApiOptions options); /// @@ -96,7 +96,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Used to filter and sort the list of pull requests returned - /// A collection of results + /// IObservable GetAllForRepository(string owner, string name, PullRequestRequest request); /// @@ -107,7 +107,7 @@ namespace Octokit.Reactive /// /// The ID of the repository /// Used to filter and sort the list of pull requests returned - /// A collection of results + /// IObservable GetAllForRepository(int repositoryId, PullRequestRequest request); /// @@ -120,7 +120,7 @@ namespace Octokit.Reactive /// The name of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A collection of results + /// IObservable GetAllForRepository(string owner, string name, PullRequestRequest request, ApiOptions options); /// @@ -132,7 +132,7 @@ namespace Octokit.Reactive /// The ID of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A collection of results + /// IObservable GetAllForRepository(int repositoryId, PullRequestRequest request, ApiOptions options); /// @@ -142,7 +142,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// A instance describing the new PullRequest to create - /// A created result + /// IObservable Create(string owner, string name, NewPullRequest newPullRequest); /// @@ -151,7 +151,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#create-a-pull-request /// The ID of the repository /// A instance describing the new PullRequest to create - /// A created result + /// IObservable Create(int repositoryId, NewPullRequest newPullRequest); /// @@ -163,7 +163,7 @@ namespace Octokit.Reactive /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// IObservable Update(string owner, string name, int number, PullRequestUpdate pullRequestUpdate); /// @@ -174,7 +174,7 @@ namespace Octokit.Reactive /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// IObservable Update(int repositoryId, int number, PullRequestUpdate pullRequestUpdate); /// @@ -185,7 +185,7 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request number /// A instance describing a pull request merge - /// A result + /// IObservable Merge(string owner, string name, int number, MergePullRequest mergePullRequest); /// @@ -195,7 +195,7 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request number /// A instance describing a pull request merge - /// A result + /// IObservable Merge(int repositoryId, int number, MergePullRequest mergePullRequest); /// @@ -205,7 +205,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// A result - true if the pull request has been merged, false otherwise + /// IObservable Merged(string owner, string name, int number); /// @@ -214,7 +214,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged /// The ID of the repository /// The pull request number - /// A result - true if the pull request has been merged, false otherwise + /// IObservable Merged(int repositoryId, int number); /// @@ -224,7 +224,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// A collection of results + /// IObservable Commits(string owner, string name, int number); /// @@ -233,7 +233,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request /// The ID of the repository /// The pull request number - /// A collection of results + /// IObservable Commits(int repositoryId, int number); /// @@ -243,7 +243,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// A collection of results + /// IObservable Files(string owner, string name, int number); /// @@ -252,7 +252,7 @@ namespace Octokit.Reactive /// https://developer.github.com/v3/pulls/#list-pull-requests-files /// The ID of the repository /// The pull request number - /// A collection of results + /// IObservable Files(int repositoryId, int number); } } diff --git a/Octokit.Reactive/Clients/ObservablePullRequestsClient.cs b/Octokit.Reactive/Clients/ObservablePullRequestsClient.cs index 2bb538db..bc924c29 100644 --- a/Octokit.Reactive/Clients/ObservablePullRequestsClient.cs +++ b/Octokit.Reactive/Clients/ObservablePullRequestsClient.cs @@ -35,7 +35,7 @@ namespace Octokit.Reactive /// /// http://developer.github.com/v3/pulls/#get-a-single-pull-request /// - /// A result + /// public IObservable Get(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -52,7 +52,7 @@ namespace Octokit.Reactive /// /// The ID of the repository /// The number of the pull request - /// A result + /// public IObservable Get(int repositoryId, int number) { return _client.Get(repositoryId, number).ToObservable(); @@ -66,7 +66,7 @@ namespace Octokit.Reactive /// /// The owner of the repository /// The name of the repository - /// A collection of results + /// public IObservable GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -82,7 +82,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#list-pull-requests /// /// The ID of the repository - /// A collection of results + /// public IObservable GetAllForRepository(int repositoryId) { return GetAllForRepository(repositoryId, ApiOptions.None); @@ -97,7 +97,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// A collection of results + /// public IObservable GetAllForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -115,7 +115,7 @@ namespace Octokit.Reactive /// /// The ID of the repository /// Options for changing the API response - /// A collection of results + /// public IObservable GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -132,7 +132,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Used to filter and sort the list of pull requests returned - /// A collection of results + /// public IObservable GetAllForRepository(string owner, string name, PullRequestRequest request) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -150,7 +150,7 @@ namespace Octokit.Reactive /// /// The ID of the repository /// Used to filter and sort the list of pull requests returned - /// A collection of results + /// public IObservable GetAllForRepository(int repositoryId, PullRequestRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -168,7 +168,7 @@ namespace Octokit.Reactive /// The name of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A collection of results + /// public IObservable GetAllForRepository(string owner, string name, PullRequestRequest request, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -189,7 +189,7 @@ namespace Octokit.Reactive /// The ID of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A collection of results + /// public IObservable GetAllForRepository(int repositoryId, PullRequestRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -206,7 +206,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// A instance describing the new PullRequest to create - /// A created result + /// public IObservable Create(string owner, string name, NewPullRequest newPullRequest) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -222,7 +222,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#create-a-pull-request /// The ID of the repository /// A instance describing the new PullRequest to create - /// A created result + /// public IObservable Create(int repositoryId, NewPullRequest newPullRequest) { Ensure.ArgumentNotNull(newPullRequest, "newPullRequest"); @@ -239,7 +239,7 @@ namespace Octokit.Reactive /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// public IObservable Update(string owner, string name, int number, PullRequestUpdate pullRequestUpdate) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -257,7 +257,7 @@ namespace Octokit.Reactive /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// public IObservable Update(int repositoryId, int number, PullRequestUpdate pullRequestUpdate) { Ensure.ArgumentNotNull(pullRequestUpdate, "pullRequestUpdate"); @@ -273,7 +273,7 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request number /// A instance describing a pull request merge - /// A result + /// public IObservable Merge(string owner, string name, int number, MergePullRequest mergePullRequest) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -290,7 +290,7 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request number /// A instance describing a pull request merge - /// A result + /// public IObservable Merge(int repositoryId, int number, MergePullRequest mergePullRequest) { Ensure.ArgumentNotNull(mergePullRequest, "mergePullRequest"); @@ -305,7 +305,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// A result - true if the pull request has been merged, false otherwise + /// public IObservable Merged(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -320,7 +320,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged /// The ID of the repository /// The pull request number - /// A result - true if the pull request has been merged, false otherwise + /// public IObservable Merged(int repositoryId, int number) { return _client.Merged(repositoryId, number).ToObservable(); @@ -333,7 +333,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// A collection of results + /// public IObservable Commits(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -348,7 +348,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request /// The ID of the repository /// The pull request number - /// A collection of results + /// public IObservable Commits(int repositoryId, int number) { return _connection.GetAndFlattenAllPages(ApiUrls.PullRequestCommits(repositoryId, number)); @@ -361,7 +361,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// A collection of results + /// public IObservable Files(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -376,7 +376,7 @@ namespace Octokit.Reactive /// https://developer.github.com/v3/pulls/#list-pull-requests-files /// The ID of the repository /// The pull request number - /// A collection of results + /// public IObservable Files(int repositoryId, int number) { return _connection.GetAndFlattenAllPages(ApiUrls.PullRequestFiles(repositoryId, number)); diff --git a/Octokit/Clients/IPullRequestsClient.cs b/Octokit/Clients/IPullRequestsClient.cs index ba16e8c8..6e1c94e2 100644 --- a/Octokit/Clients/IPullRequestsClient.cs +++ b/Octokit/Clients/IPullRequestsClient.cs @@ -23,7 +23,7 @@ namespace Octokit /// /// http://developer.github.com/v3/pulls/#get-a-single-pull-request /// - /// A result + /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "Method makes a network request")] Task Get(string owner, string name, int number); @@ -34,7 +34,7 @@ namespace Octokit /// /// http://developer.github.com/v3/pulls/#get-a-single-pull-request /// - /// A result + /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "Method makes a network request")] Task Get(int repositoryId, int number); @@ -47,7 +47,7 @@ namespace Octokit /// /// The owner of the repository /// The name of the repository - /// A of s which are currently open + /// Task> GetAllForRepository(string owner, string name); /// @@ -57,7 +57,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#list-pull-requests /// /// The ID of the repository - /// A of s which are currently open + /// Task> GetAllForRepository(int repositoryId); /// @@ -69,7 +69,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// A of s which are currently open + /// Task> GetAllForRepository(string owner, string name, ApiOptions options); /// @@ -80,7 +80,7 @@ namespace Octokit /// /// The ID of the repository /// Options for changing the API response - /// A of s which are currently open + /// Task> GetAllForRepository(int repositoryId, ApiOptions options); /// @@ -92,7 +92,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// Used to filter and sort the list of pull requests returned - /// A of s which match the criteria + /// Task> GetAllForRepository(string owner, string name, PullRequestRequest request); /// @@ -103,7 +103,7 @@ namespace Octokit /// /// The ID of the repository /// Used to filter and sort the list of pull requests returned - /// A of s which match the criteria + /// Task> GetAllForRepository(int repositoryId, PullRequestRequest request); /// @@ -116,7 +116,7 @@ namespace Octokit /// The name of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A of s which match the criteria + /// Task> GetAllForRepository(string owner, string name, PullRequestRequest request, ApiOptions options); /// @@ -128,7 +128,7 @@ namespace Octokit /// The ID of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A of s which match the criteria + /// Task> GetAllForRepository(int repositoryId, PullRequestRequest request, ApiOptions options); /// @@ -138,7 +138,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// A instance describing the new PullRequest to create - /// A result which was created on the server + /// Task Create(string owner, string name, NewPullRequest newPullRequest); /// @@ -147,7 +147,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#create-a-pull-request /// The ID of the repository /// A instance describing the new PullRequest to create - /// A result which was created on the server + /// Task Create(int repositoryId, NewPullRequest newPullRequest); /// @@ -159,7 +159,7 @@ namespace Octokit /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// Task Update(string owner, string name, int number, PullRequestUpdate pullRequestUpdate); /// @@ -170,7 +170,7 @@ namespace Octokit /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// Task Update(int repositoryId, int number, PullRequestUpdate pullRequestUpdate); /// @@ -181,7 +181,7 @@ namespace Octokit /// The name of the repository /// The pull request number /// A instance describing a pull request merge - /// An result which indicates the merge result + /// Task Merge(string owner, string name, int number, MergePullRequest mergePullRequest); /// @@ -191,7 +191,7 @@ namespace Octokit /// The ID of the repository /// The pull request number /// A instance describing a pull request merge - /// An result which indicates the merge result + /// Task Merge(int repositoryId, int number, MergePullRequest mergePullRequest); /// @@ -201,7 +201,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// True if the operation has been merged, false otherwise + /// Task Merged(string owner, string name, int number); /// @@ -210,7 +210,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged /// The ID of the repository /// The pull request number - /// True if the operation has been merged, false otherwise + /// Task Merged(int repositoryId, int number); /// @@ -220,7 +220,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// A of s which are part of this pull request + /// Task> Commits(string owner, string name, int number); /// @@ -229,7 +229,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request /// The ID of the repository /// The pull request number - /// A of s which are part of this pull request + /// Task> Commits(int repositoryId, int number); /// @@ -239,7 +239,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// A which are part of this pull request + /// Task> Files(string owner, string name, int number); /// @@ -248,7 +248,7 @@ namespace Octokit /// https://developer.github.com/v3/pulls/#list-pull-requests-files /// The ID of the repository /// The pull request number - /// A which are part of this pull request + /// Task> Files(int repositoryId, int number); } } diff --git a/Octokit/Clients/PullRequestsClient.cs b/Octokit/Clients/PullRequestsClient.cs index 29808ab2..a7300df2 100644 --- a/Octokit/Clients/PullRequestsClient.cs +++ b/Octokit/Clients/PullRequestsClient.cs @@ -28,7 +28,7 @@ namespace Octokit /// /// http://developer.github.com/v3/pulls/#get-a-single-pull-request /// - /// A result + /// public Task Get(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -43,7 +43,7 @@ namespace Octokit /// /// http://developer.github.com/v3/pulls/#get-a-single-pull-request /// - /// A result + /// public Task Get(int repositoryId, int number) { return ApiConnection.Get(ApiUrls.PullRequest(repositoryId, number)); @@ -57,7 +57,7 @@ namespace Octokit /// /// The owner of the repository /// The name of the repository - /// A of s which are currently open + /// public Task> GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -73,7 +73,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#list-pull-requests /// /// The ID of the repository - /// A of s which are currently open + /// public Task> GetAllForRepository(int repositoryId) { return GetAllForRepository(repositoryId, new PullRequestRequest(), ApiOptions.None); @@ -88,7 +88,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// A of s which are currently open + /// public Task> GetAllForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -106,7 +106,7 @@ namespace Octokit /// /// The ID of the repository /// Options for changing the API response - /// A of s which are currently open + /// public Task> GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -123,7 +123,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// Used to filter and sort the list of pull requests returned - /// A of s which match the criteria + /// public Task> GetAllForRepository(string owner, string name, PullRequestRequest request) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -141,7 +141,7 @@ namespace Octokit /// /// The ID of the repository /// Used to filter and sort the list of pull requests returned - /// A of s which match the criteria + /// public Task> GetAllForRepository(int repositoryId, PullRequestRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -159,7 +159,7 @@ namespace Octokit /// The name of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A of s which match the criteria + /// public Task> GetAllForRepository(string owner, string name, PullRequestRequest request, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -180,7 +180,7 @@ namespace Octokit /// The ID of the repository /// Used to filter and sort the list of pull requests returned /// Options for changing the API response - /// A of s which match the criteria + /// public Task> GetAllForRepository(int repositoryId, PullRequestRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -197,7 +197,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// A instance describing the new PullRequest to create - /// A result which was created on the server + /// public Task Create(string owner, string name, NewPullRequest newPullRequest) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -213,7 +213,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#create-a-pull-request /// The ID of the repository /// A instance describing the new PullRequest to create - /// A result which was created on the server + /// public Task Create(int repositoryId, NewPullRequest newPullRequest) { Ensure.ArgumentNotNull(newPullRequest, "newPullRequest"); @@ -230,7 +230,7 @@ namespace Octokit /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// public Task Update(string owner, string name, int number, PullRequestUpdate pullRequestUpdate) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -248,7 +248,7 @@ namespace Octokit /// The PullRequest number /// An instance describing the changes to make to the PullRequest /// - /// An updated result + /// public Task Update(int repositoryId, int number, PullRequestUpdate pullRequestUpdate) { Ensure.ArgumentNotNull(pullRequestUpdate, "pullRequestUpdate"); @@ -264,7 +264,7 @@ namespace Octokit /// The name of the repository /// The pull request number /// A instance describing a pull request merge - /// An result which indicates the merge result + /// public async Task Merge(string owner, string name, int number, MergePullRequest mergePullRequest) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -300,7 +300,7 @@ namespace Octokit /// The ID of the repository /// The pull request number /// A instance describing a pull request merge - /// An result which indicates the merge result + /// public async Task Merge(int repositoryId, int number, MergePullRequest mergePullRequest) { Ensure.ArgumentNotNull(mergePullRequest, "mergePullRequest"); @@ -334,7 +334,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// True if the operation has been merged, false otherwise + /// public async Task Merged(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -358,7 +358,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged /// The ID of the repository /// The pull request number - /// True if the operation has been merged, false otherwise + /// public async Task Merged(int repositoryId, int number) { try @@ -380,7 +380,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// A of s which are part of this pull request + /// public Task> Commits(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -395,7 +395,7 @@ namespace Octokit /// http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request /// The ID of the repository /// The pull request number - /// A of s which are part of this pull request + /// public Task> Commits(int repositoryId, int number) { return ApiConnection.GetAll(ApiUrls.PullRequestCommits(repositoryId, number)); @@ -408,7 +408,7 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// A which are part of this pull request + /// public Task> Files(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -423,7 +423,7 @@ namespace Octokit /// https://developer.github.com/v3/pulls/#list-pull-requests-files /// The ID of the repository /// The pull request number - /// A which are part of this pull request + /// public Task> Files(int repositoryId, int number) { return ApiConnection.GetAll(ApiUrls.PullRequestFiles(repositoryId, number));