Example #1
0
 public PartialSession(PartialData data)
 {
     Id                        = data.Id;
     _chatId                   = data.ChatId;
     _name                     = data.Name;
     _batchCount               = data.BatchCount;
     _dataSource               = new PartialSource(data.DataSource);
     _isRandomOrder            = data.IsRandomOrder;
     _dataOutput               = new PartialOutput(data.DataOutput);
     _options                  = data.Options;
     _canAddOptions            = data.CanAddOptions;
     _autoOrderOptions         = data.AutoOrderOptions;
     _canSelectMultipleOptions = data.CanSelectMultipleOptions;
 }
Example #2
0
 public PartialSession(long chatId)
 {
     _chatId     = chatId;
     _dataSource = new PartialSource();
     _dataOutput = new PartialOutput();
 }