C# 클래스 Phamhilator.Yam.Core.PostFetcher

파일 보기 프로젝트 열기: ArcticEcho/Phamhilator

공개 메소드들

메소드 설명
GetAnswer ( string postUrl ) : Answer
GetLatestAnswer ( CQ questionDom, string questionUrl ) : Answer
GetQuestion ( CQ dom, string postUrl ) : Question
GetQuestion ( MessageEventArgs message, CQ &dom ) : Question
IsAnswerAccepted ( CQ dom ) : bool
IsPostDeleted ( string url, CQ &dom ) : bool
IsQuestionClosed ( CQ dom, string url, bool includeDupe = true ) : bool
ParsePostLink ( string postUrl, string &host, uint &id ) : void

비공개 메소드들

메소드 설명
GetAnswer ( CQ dom, string host, string id ) : Answer
GetUserNetworkID ( string authorProfileLink ) : int
ParseRep ( string rep ) : int
StripTags ( string source ) : string
TrimUrl ( string url ) : string

메소드 상세

GetAnswer() 공개 정적인 메소드

public static GetAnswer ( string postUrl ) : Answer
postUrl string
리턴 Answer

GetLatestAnswer() 공개 정적인 메소드

public static GetLatestAnswer ( CQ questionDom, string questionUrl ) : Answer
questionDom CsQuery.CQ
questionUrl string
리턴 Answer

GetQuestion() 공개 정적인 메소드

public static GetQuestion ( CQ dom, string postUrl ) : Question
dom CsQuery.CQ
postUrl string
리턴 Question

GetQuestion() 공개 정적인 메소드

public static GetQuestion ( MessageEventArgs message, CQ &dom ) : Question
message WebSocketSharp.MessageEventArgs
dom CsQuery.CQ
리턴 Question

IsAnswerAccepted() 공개 정적인 메소드

public static IsAnswerAccepted ( CQ dom ) : bool
dom CsQuery.CQ
리턴 bool

IsPostDeleted() 공개 정적인 메소드

public static IsPostDeleted ( string url, CQ &dom ) : bool
url string
dom CsQuery.CQ
리턴 bool

IsQuestionClosed() 공개 정적인 메소드

public static IsQuestionClosed ( CQ dom, string url, bool includeDupe = true ) : bool
dom CsQuery.CQ
url string
includeDupe bool
리턴 bool

ParsePostLink() 공개 정적인 메소드

public static ParsePostLink ( string postUrl, string &host, uint &id ) : void
postUrl string
host string
id uint
리턴 void