public GetAllForRepository ( long repositoryId ) : Task |
||
repositoryId | long | The Id of the repository |
리턴 | Task |
public Task<IReadOnlyList<IssueComment>> GetAllForRepository(long repositoryId)
{
return GetAllForRepository(repositoryId, new IssueCommentRequest(), ApiOptions.None);
}
IssueCommentsClient::GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task |
|
IssueCommentsClient::GetAllForRepository ( long repositoryId, |
|
IssueCommentsClient::GetAllForRepository ( long repositoryId, |
|
IssueCommentsClient::GetAllForRepository ( string owner, string name ) : Task |
|
IssueCommentsClient::GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task |
|
IssueCommentsClient::GetAllForRepository ( string owner, string name, |
|
IssueCommentsClient::GetAllForRepository ( string owner, string name, |
public async Task EnsuresArgumentsNotNull() { var connection = Substitute.For<IApiConnection>(); var client = new IssueCommentsClient(connection); await Assert.ThrowsAsync<ArgumentNullException>(() => client.GetAllForRepository(null, "name")); await Assert.ThrowsAsync<ArgumentException>(() => client.GetAllForRepository("", "name")); await Assert.ThrowsAsync<ArgumentNullException>(() => client.GetAllForRepository("owner", null)); await Assert.ThrowsAsync<ArgumentException>(() => client.GetAllForRepository("owner", "")); }