C# Class ApiCore.Polls.PollsFactory

Inheritance: BaseFactory
Afficher le fichier Open project: nolka/vkdotnet

Méthodes publiques

Méthode Description
AddVote ( int ownerId, int pollId, int answeId ) : bool
DeleteVote ( int ownerId, int pollId, int answeId ) : bool
GetById ( int ownerId, int pollId ) : PollEntry

Get poll information by id

PollsFactory ( ApiManager manager ) : System

Private Methods

Méthode Description
buildAnswers ( XmlNodeList data ) : PollAnswerCollection

Method Details

AddVote() public méthode

public AddVote ( int ownerId, int pollId, int answeId ) : bool
ownerId int
pollId int
answeId int
Résultat bool

DeleteVote() public méthode

public DeleteVote ( int ownerId, int pollId, int answeId ) : bool
ownerId int
pollId int
answeId int
Résultat bool

GetById() public méthode

Get poll information by id
public GetById ( int ownerId, int pollId ) : PollEntry
ownerId int Poll owner id
pollId int Poll id
Résultat PollEntry

PollsFactory() public méthode

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