C# Class Com.Readmill.Api.CommentsClient

Inheritance: ReadmillClientBase
Afficher le fichier Open project: totobogy/ReadmillDotNet

Méthodes publiques

Méthode Description
CommentsClient ( string clientId ) : System

Instantiates a client for the Readmill/Users api

DeleteCommentAsync ( string accessToken, string commentId ) : System.Threading.Tasks.Task
GetCommentByIdAsync ( string commentId, string accessToken = null ) : Task

UpdateCommentAsync ( string accessToken, string commentId, Comment updatedComment ) : Task

Méthodes protégées

Méthode Description
LoadTemplates ( ) : void

Method Details

CommentsClient() public méthode

Instantiates a client for the Readmill/Users api
public CommentsClient ( string clientId ) : System
clientId string Client Id of the application, assgined by Readmill when the app is registered
Résultat System

DeleteCommentAsync() public méthode

public DeleteCommentAsync ( string accessToken, string commentId ) : System.Threading.Tasks.Task
accessToken string
commentId string
Résultat System.Threading.Tasks.Task

GetCommentByIdAsync() public méthode

public GetCommentByIdAsync ( string commentId, string accessToken = null ) : Task
commentId string
accessToken string (optional) for private comments
Résultat Task

LoadTemplates() protected méthode

protected LoadTemplates ( ) : void
Résultat void

UpdateCommentAsync() public méthode

public UpdateCommentAsync ( string accessToken, string commentId, Comment updatedComment ) : Task
accessToken string
commentId string
updatedComment Com.Readmill.Api.DataContracts.Comment
Résultat Task