Exemple #1
0
		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;
 }
 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;
 }