C# Class Octokit.IssueCommentsClient

A client for GitHub's Issue Comments API.
See the Issue Comments API documentation for more information.
Inheritance: Octokit.ApiClient, IIssueCommentsClient
Afficher le fichier Open project: octokit/octokit.net Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Create() public méthode

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
Résultat Task

Create() public méthode

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
Résultat Task

Delete() public méthode

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
Résultat System.Threading.Tasks.Task

Delete() public méthode

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
Résultat System.Threading.Tasks.Task

Get() public méthode

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
Résultat Task

Get() public méthode

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
Résultat Task

GetAllForIssue() public méthode

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
Résultat Task>

GetAllForIssue() public méthode

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
Résultat Task>

GetAllForIssue() public méthode

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
Résultat Task>

GetAllForIssue() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

GetAllForRepository() public méthode

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
Résultat Task>

IssueCommentsClient() public méthode

Instantiates a new GitHub Issue Comments API client.
public IssueCommentsClient ( IApiConnection apiConnection ) : System.Collections.Generic
apiConnection IApiConnection An API connection
Résultat System.Collections.Generic

Update() public méthode

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
Résultat Task

Update() public méthode

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
Résultat Task