C# 클래스 Com.Readmill.Api.CommentsClient

상속: ReadmillClientBase
파일 보기 프로젝트 열기: totobogy/ReadmillDotNet

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
LoadTemplates ( ) : void

메소드 상세

CommentsClient() 공개 메소드

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
리턴 System

DeleteCommentAsync() 공개 메소드

public DeleteCommentAsync ( string accessToken, string commentId ) : System.Threading.Tasks.Task
accessToken string
commentId string
리턴 System.Threading.Tasks.Task

GetCommentByIdAsync() 공개 메소드

public GetCommentByIdAsync ( string commentId, string accessToken = null ) : Task
commentId string
accessToken string (optional) for private comments
리턴 Task

LoadTemplates() 보호된 메소드

protected LoadTemplates ( ) : void
리턴 void

UpdateCommentAsync() 공개 메소드

public UpdateCommentAsync ( string accessToken, string commentId, Comment updatedComment ) : Task
accessToken string
commentId string
updatedComment Com.Readmill.Api.DataContracts.Comment
리턴 Task