C# Класс Octokit.IssueCommentsClient

A client for GitHub's Issue Comments API.
See the Issue Comments API documentation for more information.
Наследование: Octokit.ApiClient, IIssueCommentsClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( long repositoryId, int number, string newComment ) : Task

Creates a new Issue Comment for a specified Issue.

http://developer.github.com/v3/issues/comments/#create-a-comment

Create ( string owner, string name, int number, string newComment ) : Task

Creates a new Issue Comment for a specified Issue.

http://developer.github.com/v3/issues/comments/#create-a-comment

Delete ( long repositoryId, int id ) : System.Threading.Tasks.Task

Deletes the specified Issue Comment

http://developer.github.com/v3/issues/comments/#delete-a-comment

Delete ( string owner, string name, int id ) : System.Threading.Tasks.Task

Deletes the specified Issue Comment

http://developer.github.com/v3/issues/comments/#delete-a-comment

Get ( long repositoryId, int id ) : Task

Gets a single Issue Comment by id.

http://developer.github.com/v3/issues/comments/#get-a-single-comment

Get ( string owner, string name, int id ) : Task

Gets a single Issue Comment by id.

http://developer.github.com/v3/issues/comments/#get-a-single-comment

GetAllForIssue ( long repositoryId, int number ) : Task>

Gets Issue Comments for a specified Issue.

http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue

GetAllForIssue ( long repositoryId, int number, Octokit.ApiOptions options ) : Task>

Gets Issue Comments for a specified Issue.

http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue

GetAllForIssue ( string owner, string name, int number ) : Task>

Gets Issue Comments for a specified Issue.

http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue

GetAllForIssue ( string owner, string name, int number, Octokit.ApiOptions options ) : Task>

Gets Issue Comments for a specified Issue.

http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue

GetAllForRepository ( long repositoryId ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( long repositoryId, IssueCommentRequest request ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( long repositoryId, IssueCommentRequest request, Octokit.ApiOptions options ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( string owner, string name ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( string owner, string name, IssueCommentRequest request ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

GetAllForRepository ( string owner, string name, IssueCommentRequest request, Octokit.ApiOptions options ) : Task>

Gets Issue Comments for a repository.

http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository

IssueCommentsClient ( IApiConnection apiConnection ) : System.Collections.Generic

Instantiates a new GitHub Issue Comments API client.

Update ( long repositoryId, int id, string commentUpdate ) : Task

Updates a specified Issue Comment.

http://developer.github.com/v3/issues/comments/#edit-a-comment

Update ( string owner, string name, int id, string commentUpdate ) : Task

Updates a specified Issue Comment.

http://developer.github.com/v3/issues/comments/#edit-a-comment

Описание методов

Create() публичный Метод

Creates a new Issue Comment for a specified Issue.
http://developer.github.com/v3/issues/comments/#create-a-comment
public Create ( long repositoryId, int number, string newComment ) : Task
repositoryId long The Id of the repository
number int The number of the issue
newComment string The new comment to add to the issue
Результат Task

Create() публичный Метод

Creates a new Issue Comment for a specified Issue.
http://developer.github.com/v3/issues/comments/#create-a-comment
public Create ( string owner, string name, int number, string newComment ) : Task
owner string The owner of the repository
name string The name of the repository
number int The number of the issue
newComment string The new comment to add to the issue
Результат Task

Delete() публичный Метод

Deletes the specified Issue Comment
http://developer.github.com/v3/issues/comments/#delete-a-comment
public Delete ( long repositoryId, int id ) : System.Threading.Tasks.Task
repositoryId long The Id of the repository
id int The comment id
Результат System.Threading.Tasks.Task

Delete() публичный Метод

Deletes the specified Issue Comment
http://developer.github.com/v3/issues/comments/#delete-a-comment
public Delete ( string owner, string name, int id ) : System.Threading.Tasks.Task
owner string The owner of the repository
name string The name of the repository
id int The comment id
Результат System.Threading.Tasks.Task

Get() публичный Метод

Gets a single Issue Comment by id.
http://developer.github.com/v3/issues/comments/#get-a-single-comment
public Get ( long repositoryId, int id ) : Task
repositoryId long The Id of the repository
id int The issue comment id
Результат Task

Get() публичный Метод

Gets a single Issue Comment by id.
http://developer.github.com/v3/issues/comments/#get-a-single-comment
public Get ( string owner, string name, int id ) : Task
owner string The owner of the repository
name string The name of the repository
id int The issue comment id
Результат Task

GetAllForIssue() публичный Метод

Gets Issue Comments for a specified Issue.
http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
public GetAllForIssue ( long repositoryId, int number ) : Task>
repositoryId long The Id of the repository
number int The issue number
Результат Task>

GetAllForIssue() публичный Метод

Gets Issue Comments for a specified Issue.
http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
public GetAllForIssue ( long repositoryId, int number, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
number int The issue number
options Octokit.ApiOptions Options for changing the API response
Результат Task>

GetAllForIssue() публичный Метод

Gets Issue Comments for a specified Issue.
http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
public GetAllForIssue ( string owner, string name, int number ) : Task>
owner string The owner of the repository
name string The name of the repository
number int The issue number
Результат Task>

GetAllForIssue() публичный Метод

Gets Issue Comments for a specified Issue.
http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
public GetAllForIssue ( string owner, string name, int number, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
number int The issue number
options Octokit.ApiOptions Options for changing the API response
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( long repositoryId ) : Task>
repositoryId long The Id of the repository
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
options Octokit.ApiOptions Options for changing the API response
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( long repositoryId, IssueCommentRequest request ) : Task>
repositoryId long The Id of the repository
request IssueCommentRequest The sorting parameters
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( long repositoryId, IssueCommentRequest request, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
request IssueCommentRequest The sorting parameters
options Octokit.ApiOptions Options for changing the API response
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( string owner, string name ) : Task>
owner string The owner of the repository
name string The name of the repository
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
options Octokit.ApiOptions Options for changing the API response
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( string owner, string name, IssueCommentRequest request ) : Task>
owner string The owner of the repository
name string The name of the repository
request IssueCommentRequest The sorting parameters
Результат Task>

GetAllForRepository() публичный Метод

Gets Issue Comments for a repository.
http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
public GetAllForRepository ( string owner, string name, IssueCommentRequest request, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
request IssueCommentRequest The sorting parameters
options Octokit.ApiOptions Options for changing the API response
Результат Task>

IssueCommentsClient() публичный Метод

Instantiates a new GitHub Issue Comments API client.
public IssueCommentsClient ( IApiConnection apiConnection ) : System.Collections.Generic
apiConnection IApiConnection An API connection
Результат System.Collections.Generic

Update() публичный Метод

Updates a specified Issue Comment.
http://developer.github.com/v3/issues/comments/#edit-a-comment
public Update ( long repositoryId, int id, string commentUpdate ) : Task
repositoryId long The Id of the repository
id int The comment id
commentUpdate string The modified comment
Результат Task

Update() публичный Метод

Updates a specified Issue Comment.
http://developer.github.com/v3/issues/comments/#edit-a-comment
public Update ( string owner, string name, int id, string commentUpdate ) : Task
owner string The owner of the repository
name string The name of the repository
id int The comment id
commentUpdate string The modified comment
Результат Task