C# Class HelperOfHiters.Answer

Show file Open project: HIT-MSTC/HelperOfHiters

Public Methods

Method Description
CancelRecommandAnswer ( int id ) : bool
DeleteAnswer ( int id ) : bool
GetMessage ( int id, String key ) : String
GetRecommandAnswer ( ) : String
GetTopicAnswer ( int TopicId ) : String
GetUserAnswer ( String Author ) : String
GetXml ( int id ) : String
ModifyMessage ( int id, String key, String values ) : bool
PostAnswer ( int TopicId, String Author, String Text ) : bool
PostAnswer ( int TopicId, String Author, String Text ) : int
RecommandAnswer ( int id ) : bool

Method Details

CancelRecommandAnswer() public static method

public static CancelRecommandAnswer ( int id ) : bool
id int
return bool

DeleteAnswer() public static method

public static DeleteAnswer ( int id ) : bool
id int
return bool

GetMessage() public static method

public static GetMessage ( int id, String key ) : String
id int
key String
return String

GetRecommandAnswer() public static method

public static GetRecommandAnswer ( ) : String
return String

GetTopicAnswer() public static method

public static GetTopicAnswer ( int TopicId ) : String
TopicId int
return String

GetUserAnswer() public static method

public static GetUserAnswer ( String Author ) : String
Author String
return String

GetXml() public static method

public static GetXml ( int id ) : String
id int
return String

ModifyMessage() public static method

public static ModifyMessage ( int id, String key, String values ) : bool
id int
key String
values String
return bool

PostAnswer() public static method

public static PostAnswer ( int TopicId, String Author, String Text ) : bool
TopicId int
Author String
Text String
return bool

PostAnswer() public static method

public static PostAnswer ( int TopicId, String Author, String Text ) : int
TopicId int
Author String
Text String
return int

RecommandAnswer() public static method

public static RecommandAnswer ( int id ) : bool
id int
return bool