C# Class HelperOfHiters.Topic

Show file Open project: HIT-MSTC/HelperOfHiters

Public Methods

Method Description
DeleteTopic ( int TopicId ) : bool
GetAllRecommandTopic ( ) : String
GetMessage ( int id, String key ) : String
GetPartTopic ( String Part ) : String
GetRecommandTopic ( String Part ) : String
GetUserTopic ( String Author ) : String
GetXml ( int id ) : String
ModifyMessage ( int TopicId, String key, String values ) : bool
PostTopic ( String Author, String Title, String Part, String Text ) : bool
PostTopic ( String Author, String Title, String Part, String Text ) : int

Method Details

DeleteTopic() public static method

public static DeleteTopic ( int TopicId ) : bool
TopicId int
return bool

GetAllRecommandTopic() public static method

public static GetAllRecommandTopic ( ) : String
return String

GetMessage() public static method

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

GetPartTopic() public static method

public static GetPartTopic ( String Part ) : String
Part String
return String

GetRecommandTopic() public static method

public static GetRecommandTopic ( String Part ) : String
Part String
return String

GetUserTopic() public static method

public static GetUserTopic ( 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 TopicId, String key, String values ) : bool
TopicId int
key String
values String
return bool

PostTopic() public static method

public static PostTopic ( String Author, String Title, String Part, String Text ) : bool
Author String
Title String
Part String
Text String
return bool

PostTopic() public static method

public static PostTopic ( String Author, String Title, String Part, String Text ) : int
Author String
Title String
Part String
Text String
return int