C# 클래스 RedditSharp.Things.Comment

상속: RedditSharp.Things.VotableThing
파일 보기 프로젝트 열기: SirCmpwn/RedditSharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CommonInit JToken
ParseComments void
ParseCommentsAsync System.Threading.Tasks.Task
RemoveImpl void
SimpleAction string

공개 메소드들

메소드 설명
Del ( ) : void
EditText ( string newText ) : void

Replaces the text in this comment with the input text.

Init ( Reddit reddit, JToken json, IWebAgent webAgent, Thing sender ) : Comment
InitAsync ( Reddit reddit, JToken json, IWebAgent webAgent, Thing sender ) : Task
Remove ( ) : void
RemoveSpam ( ) : void
Reply ( string message ) : Comment
SetAsRead ( ) : void

비공개 메소드들

메소드 설명
CommonInit ( Reddit reddit, JToken json, IWebAgent webAgent, Thing sender ) : JToken
ParseComments ( Reddit reddit, JToken data, IWebAgent webAgent, Thing sender ) : void
ParseCommentsAsync ( Reddit reddit, JToken data, IWebAgent webAgent, Thing sender ) : System.Threading.Tasks.Task
RemoveImpl ( bool spam ) : void
SimpleAction ( string endpoint ) : string

메소드 상세

Del() 공개 메소드

public Del ( ) : void
리턴 void

EditText() 공개 메소드

Replaces the text in this comment with the input text.
public EditText ( string newText ) : void
newText string The text to replace the comment's contents
리턴 void

Init() 공개 메소드

public Init ( Reddit reddit, JToken json, IWebAgent webAgent, Thing sender ) : Comment
reddit Reddit
json JToken
webAgent IWebAgent
sender Thing
리턴 Comment

InitAsync() 공개 메소드

public InitAsync ( Reddit reddit, JToken json, IWebAgent webAgent, Thing sender ) : Task
reddit Reddit
json JToken
webAgent IWebAgent
sender Thing
리턴 Task

Remove() 공개 메소드

public Remove ( ) : void
리턴 void

RemoveSpam() 공개 메소드

public RemoveSpam ( ) : void
리턴 void

Reply() 공개 메소드

public Reply ( string message ) : Comment
message string
리턴 Comment

SetAsRead() 공개 메소드

public SetAsRead ( ) : void
리턴 void