public GroupsHolder(INpuServerFetcher fetcher, IFacultiesProvider facultiesProvider) { _fetcher = fetcher; _facultiesProvider = facultiesProvider; PeriodicCallIntervalInSeconds = _cacheLifeTimeInMinutes * 60; PeriodicAction = UpdateCache; }
public ShowTimetableFacultyGroupViewMenuCallbackHandler(ITelegramBotActions botActions, IFacultiesProvider facultiesProvider, IFacultyGroupsProvider facultyGroupsProvider, ITelegramBotService telegramBotService) : base(telegramBotService) { _botActions = botActions; _facultiesProvider = facultiesProvider; _facultyGroupsProvider = facultyGroupsProvider; }
public TimetableFacultyGroupsMenuGroupSelectedHandler( ITelegramBotActions telegramBotActions, IFacultiesProvider facultiesProvider, IFacultyGroupsProvider facultyGroupsProvider, ILocalDateService localDateService, ITelegramBotService telegramBotService) : base(telegramBotService) { _telegramBotActions = telegramBotActions; _facultiesProvider = facultiesProvider; _facultyGroupsProvider = facultyGroupsProvider; _localDateService = localDateService; }
public TimetableSelectingFacultyActionHandler( ITelegramBotActions botActions, IFacultiesProvider facultiesProvider, IFacultyGroupsProvider facultyGroupsProvider, ILongLastingUserActionManager longLastingUserActionManager, ICurrentUserLocalizationService currentUserLocalizationService, ILogger <TimetableSelectingFacultyActionHandler> logger) { _botActions = botActions; _facultiesProvider = facultiesProvider; _facultyGroupsProvider = facultyGroupsProvider; _longLastingUserActionManager = longLastingUserActionManager; _currentUserLocalizationService = currentUserLocalizationService; _logger = logger; }
public ShowTimetableSelectingFacultyMenuAction( TimetableFacultyListKeyboardCreator keyboardCreator, IFacultiesProvider facultiesProvider, ITelegramBotService telegramBotService, ICurrentTelegramUserProvider currentTelegramUserProvider, ICurrentUserLocalizationService currentUserLocalizationService, ILongLastingUserActionManager longLastingUserActionManager) { _keyboardCreator = keyboardCreator; _facultiesProvider = facultiesProvider; _telegramBotService = telegramBotService; _currentTelegramUserProvider = currentTelegramUserProvider; _currentUserLocalizationService = currentUserLocalizationService; _longLastingUserActionManager = longLastingUserActionManager; }