public Pointer(int chatId, EPolls pollType, ENeedle needle, EAnony anony, int? boardChatId, int? boardPollId, int lastPollId, Strings.langs lang) { this.ChatId = chatId; this.PollType = pollType; this.Needle = needle; this.Anony = anony; this.BoardChatId = boardChatId; this.BoardPollId = boardPollId; this.LastPollId = lastPollId; this.Lang = lang; }
public Pointer(int chatId, EPolls pollType, ENeedle needle, EAnony anony, int?boardChatId, int?boardPollId, int lastPollId, Strings.Langs lang, List <DateTime> lastRequests) { this.ChatId = chatId; this.PollType = pollType; this.Needle = needle; this.Anony = anony; this.BoardChatId = boardChatId; this.BoardPollId = boardPollId; this.LastPollId = lastPollId; this.Lang = lang; this.LastRequests = lastRequests; }
public PVote(int chatId, int pollId, string pollText, string pollDescription, EAnony anony, bool closed, PercentageBars.Bars percentageBar, bool appendable, bool sorted, bool archived, Dictionary <string, List <User> > pollVotes, List <MessageID> messageIds, DBHandler dBHandler, Strings.Langs lang) : base(chatId, pollId, pollText, pollDescription, anony, closed, percentageBar, appendable, sorted, archived, dBHandler, pollVotes, messageIds, lang, EPolls.vote) { }
public PVote(int chatId, int pollId, string pollText, EAnony anony, DBHandler dBHandler, Strings.Langs lang) : base(chatId, pollId, pollText, null, anony, false, PercentageBars.Bars.none, false, false, false, dBHandler, new Dictionary <string, List <User> >(), new List <MessageID>(), lang, EPolls.vote) { }
public Board(int chatId, int pollId, string pollText, string pollDescription, EAnony anony, bool closed, bool archived, DBHandler dBHandler, Dictionary <int, BoardVote> pollVotes, List <MessageID> messageIds, Strings.Langs lang) : base(chatId, pollId, pollText, pollDescription, anony, closed, PercentageBars.Bars.none, false, false, archived, dBHandler, null, messageIds, lang, EPolls.board) { this.pollType = EPolls.board; this.pollVotes = pollVotes; }
public Board(int chatId, int pollId, string pollText, EAnony anony, DBHandler dBHandler, Strings.Langs lang) : this(chatId, pollId, pollText, null, anony, false, false, dBHandler, new Dictionary <int, BoardVote>(), new List <MessageID>(), lang) { this.pollType = EPolls.board; }
public Doodle(int chatId, int pollId, string pollText, EAnony anony, DBHandler dBHandler, Strings.langs lang) : this(chatId, pollId, pollText, null, anony, false, PercentageBars.Bars.none, false, false, false, new Dictionary <string, List <User> >(), new List <MessageID>(), new List <User>(), dBHandler, lang) { }
protected Poll(int chatId, int pollId, string pollText, string pollDescription, EAnony anony, bool closed, PercentageBars.Bars percentageBar, bool appendable, bool sorted, bool archived, DBHandler dBHandler, Dictionary <string, List <User> > pollVotes, List <MessageID> messageIds, Strings.Langs lang, EPolls pollType = EPolls.vote) { this.chatId = chatId; this.pollId = pollId; this.pollText = pollText; this.pollDescription = pollDescription; this.anony = anony; this.pollVotes = pollVotes; this.messageIds = messageIds; this.closed = closed; this.archived = archived; this.dBHandler = dBHandler; this.pollType = pollType; this.lang = lang; this.PercentageBar = percentageBar; this.Appendable = appendable; this.Sorted = sorted; }
public LimitedDoodle(int chatId, int pollId, string pollText, string pollDescription, EAnony anony, bool closed, PercentageBars.Bars percentageBar, bool appendable, bool sorted, bool archived, Dictionary <string, List <User> > pollVotes, List <MessageID> messageIds, List <User> people, int maxVotes, DBHandler dBHandler, Strings.Langs lang) : base(chatId, pollId, pollText, pollDescription, anony, closed, percentageBar, appendable, sorted, archived, pollVotes, messageIds, people, dBHandler, lang) { this.pollType = EPolls.limitedDoodle; this.MaxVotes = maxVotes; }
public LimitedDoodle(int chatId, int pollId, string pollText, EAnony anony, DBHandler dBHandler, Strings.Langs lang) : base(chatId, pollId, pollText, anony, dBHandler, lang) { this.pollType = EPolls.limitedDoodle; }