C# Class ApiCore.Activity.ActivityFactory

Represents an a Vkontakte activity manager, that can get, or set user activities and actoivities of her friends
Inheritance: BaseFactory
Afficher le fichier Open project: nolka/vkdotnet

Méthodes publiques

Méthode Description
ActivityFactory ( ApiManager manager ) : System
Get ( int userId ) : ActivityEntry

Gets the current activity

GetHistory ( int userId ) : List

Gets the activity history for current user or friend

Set ( string message ) : int

Sets the current user activity

Private Methods

Méthode Description
buildEntryList ( XmlDocument x ) : List

Method Details

ActivityFactory() public méthode

public ActivityFactory ( ApiManager manager ) : System
manager ApiManager
Résultat System

Get() public méthode

Gets the current activity
public Get ( int userId ) : ActivityEntry
userId int if null - current user activity was been returned, if specified - friend activity was been returned
Résultat ActivityEntry

GetHistory() public méthode

Gets the activity history for current user or friend
public GetHistory ( int userId ) : List
userId int if null - current user history was been returned, if specified - friend history was been returned
Résultat List

Set() public méthode

Sets the current user activity
public Set ( string message ) : int
message string Activity message
Résultat int