C# 클래스 ApiCore.Questions.QuestionsFactory

상속: BaseFactory
파일 보기 프로젝트 열기: nolka/vkdotnet

공개 메소드들

메소드 설명
Add ( string text, int type ) : bool
AddAnswer ( int u_id, int q_id, string text ) : bool
Delete ( int q_id ) : bool
DeleteAnswer ( int u_id, int a_id ) : bool
Edit ( int q_id, string text, int type ) : bool
Get ( object qid, QuestionSortMode sort, int needProfiles, string nameCase, int count, int offset ) : List
GetAnswerVotes ( int uid, int aid, QuestionSortMode sort, int needProfiles, int count, int offset ) : List
GetAnswers ( int qid, QuestionSortMode sort, int needProfiles, int count, int offset ) : List
GetOutbound ( QuestionSortMode sort, int needProfiles, string nameCase, int count, int offset ) : List
GetTypes ( ) : List
JoinAnswer ( int u_id, int a_id ) : bool
MarkAsViewed ( object qid ) : bool
QuestionsFactory ( ApiManager manager ) : System

비공개 메소드들

메소드 설명
buildQuestionAnswersList ( XmlDocument x ) : List
buildQuestionEntryList ( XmlDocument x ) : List
buildQuestionTypeList ( XmlDocument x ) : List
buildQuestionVotersList ( XmlDocument x ) : List

메소드 상세

Add() 공개 메소드

public Add ( string text, int type ) : bool
text string
type int
리턴 bool

AddAnswer() 공개 메소드

public AddAnswer ( int u_id, int q_id, string text ) : bool
u_id int
q_id int
text string
리턴 bool

Delete() 공개 메소드

public Delete ( int q_id ) : bool
q_id int
리턴 bool

DeleteAnswer() 공개 메소드

public DeleteAnswer ( int u_id, int a_id ) : bool
u_id int
a_id int
리턴 bool

Edit() 공개 메소드

public Edit ( int q_id, string text, int type ) : bool
q_id int
text string
type int
리턴 bool

Get() 공개 메소드

public Get ( object qid, QuestionSortMode sort, int needProfiles, string nameCase, int count, int offset ) : List
qid object
sort QuestionSortMode
needProfiles int
nameCase string
count int
offset int
리턴 List

GetAnswerVotes() 공개 메소드

public GetAnswerVotes ( int uid, int aid, QuestionSortMode sort, int needProfiles, int count, int offset ) : List
uid int
aid int
sort QuestionSortMode
needProfiles int
count int
offset int
리턴 List

GetAnswers() 공개 메소드

public GetAnswers ( int qid, QuestionSortMode sort, int needProfiles, int count, int offset ) : List
qid int
sort QuestionSortMode
needProfiles int
count int
offset int
리턴 List

GetOutbound() 공개 메소드

public GetOutbound ( QuestionSortMode sort, int needProfiles, string nameCase, int count, int offset ) : List
sort QuestionSortMode
needProfiles int
nameCase string
count int
offset int
리턴 List

GetTypes() 공개 메소드

public GetTypes ( ) : List
리턴 List

JoinAnswer() 공개 메소드

public JoinAnswer ( int u_id, int a_id ) : bool
u_id int
a_id int
리턴 bool

MarkAsViewed() 공개 메소드

public MarkAsViewed ( object qid ) : bool
qid object
리턴 bool

QuestionsFactory() 공개 메소드

public QuestionsFactory ( ApiManager manager ) : System
manager ApiManager
리턴 System