C# 클래스 RedditSharp.Things.Post

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

Private Properties

프로퍼티 타입 설명
CommonInit void
GetComments RedditSharp.Things.Comment[]
RemoveImpl void
SimpleAction string
SimpleActionToggle string

공개 메소드들

메소드 설명
Approve ( ) : void
Comment ( string message ) : Comment
ContestMode ( bool state ) : void
Del ( ) : void
EditText ( string newText ) : void

Replaces the text in this post with the input text.

Hide ( ) : void
Init ( Reddit reddit, JToken post, IWebAgent webAgent ) : Post
InitAsync ( Reddit reddit, JToken post, IWebAgent webAgent ) : Task
ListComments ( int limit = null ) : List
MarkNSFW ( ) : void
Remove ( ) : void
RemoveSpam ( ) : void
SetFlair ( string flairText, string flairClass ) : void
StickyMode ( bool state ) : void
Unhide ( ) : void
UnmarkNSFW ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CommonInit ( Reddit reddit, JToken post, IWebAgent webAgent ) : void
GetComments ( ) : RedditSharp.Things.Comment[]
RemoveImpl ( bool spam ) : void
SimpleAction ( string endpoint ) : string
SimpleActionToggle ( string endpoint, bool value, bool requiresModAction = false ) : string

메소드 상세

Approve() 공개 메소드

public Approve ( ) : void
리턴 void

Comment() 공개 메소드

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

ContestMode() 공개 메소드

public ContestMode ( bool state ) : void
state bool
리턴 void

Del() 공개 메소드

public Del ( ) : void
리턴 void

EditText() 공개 메소드

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

Hide() 공개 메소드

public Hide ( ) : void
리턴 void

Init() 공개 메소드

public Init ( Reddit reddit, JToken post, IWebAgent webAgent ) : Post
reddit Reddit
post JToken
webAgent IWebAgent
리턴 Post

InitAsync() 공개 메소드

public InitAsync ( Reddit reddit, JToken post, IWebAgent webAgent ) : Task
reddit Reddit
post JToken
webAgent IWebAgent
리턴 Task

ListComments() 공개 메소드

public ListComments ( int limit = null ) : List
limit int
리턴 List

MarkNSFW() 공개 메소드

public MarkNSFW ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( ) : void
리턴 void

RemoveSpam() 공개 메소드

public RemoveSpam ( ) : void
리턴 void

SetFlair() 공개 메소드

public SetFlair ( string flairText, string flairClass ) : void
flairText string
flairClass string
리턴 void

StickyMode() 공개 메소드

public StickyMode ( bool state ) : void
state bool
리턴 void

Unhide() 공개 메소드

public Unhide ( ) : void
리턴 void

UnmarkNSFW() 공개 메소드

public UnmarkNSFW ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void