public GetEngGroupsCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards) : base("getengs") { this.storage = storage; this.scheduler = scheduler; this.keyboards = new EngKeyboardDecorator(keyboards); }
public SetUpGroupCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards, string command) : base(command) { this.Storage = storage; this.Scheduler = scheduler; this.Keyboards = keyboards; }
public DistributionCommand(INotifiactionSender notificator, IBotDataStorage storage, IKeyboardsFactory keyboards, SecretKey secret, ILogger <DistributionCommand> logger = null) : base("sendsudo") { this.notificator = notificator; this.storage = storage; this.keyboards = keyboards; this.secret = secret; this.logger = logger; }
protected SetUpElectiveGroupCommand(ScheduleGroupType type, IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards, string command, ILogger logger = null) : base(command) { this.GroupType = type; this.Storage = storage; this.Scheduler = scheduler; this.Keyboards = keyboards; this.logger = logger; Cache = new Dictionary <long, ValueTuple <IScheduleGroup, IScheduleGroup> >(); }
protected GetElectiveGroupsCommand(ScheduleGroupType type, string triggerName, string responseText, string notFoundResponseText, IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards, string command) : base(command) { GroupType = type; this.TriggerName = triggerName; this.Storage = storage; this.Scheduler = scheduler; ResponseText = responseText; this.NotFoundResponseText = notFoundResponseText; this.Keyboards = new AdditionalCoursesKeyboardDecorator(keyboards); }
public GetForTomorrowCommand(IScheduleService scheduler, IBotDataStorage storage) : base(name: "tomorrow", scheduler: scheduler, storage: storage) { }
public NotFoundGroupCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards) : base(storage, scheduler, keyboards, "notfound") { }
public SetUpAcademicGroupCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards) : base(storage, scheduler, keyboards, "setgroup") { }
public SetUpScienticGroupCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards, ILogger <SetUpScienticGroupCommand> logger = null) : base(ScheduleGroupType.PickedScientic, storage, scheduler, keyboards, "setsci", logger) { }
public GetScienticGroupsCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards) : base(ScheduleGroupType.PickedScientic, "sci", "Выбери свой научный трек.", "У тебя не нашлось научного трека, прости. Хотя, может это к лучшему?", storage, scheduler, keyboards, "getscis") { }
public SetUpEngGroupCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards) : base(storage, scheduler, keyboards, "seteng") { }
public SetUpTechGroupCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards, ILogger <SetUpTechGroupCommand> logger = null) : base(ScheduleGroupType.PickedTech, storage, scheduler, keyboards, "settech", logger) { }
public GetTechGroupsCommand(IBotDataStorage storage, IScheduleService scheduler, IKeyboardsFactory keyboards) : base(ScheduleGroupType.PickedTech, "tech", "Выбери свой технологический трек.", "У тебя не нашлось технологического трека, прости. Хотя, может это к лучшему?", storage, scheduler, keyboards, "gettechs") { }
public GetForWeekCommand(IScheduleService scheduler, IBotDataStorage storage) : base("week") { Scheduler = scheduler; Storage = storage; }
public AbstractGetForCommand(string name, IScheduleService scheduler, IBotDataStorage storage) : base(name) { Scheduler = scheduler; Storage = storage; }