public HomeController(IMemoryCache memoryCache, IAsk ask, ISettings settings, IParticipation participation, IDraws draws, IHubContext <UpdateHub> hubContext, UpdateHub hub, IOptions <DrawSettings> drawSettings, IOptions <SetupSettings> setupSettings, IOptions <FeaturesSettings> featuresSettings, IOptions <ColdStakingSettings> coldStakingSettings) { _memoryCache = memoryCache; _ask = ask; _settings = settings; _participation = participation; _draws = draws; _hub = hub; _hubContext = hubContext; _drawSettings = drawSettings.Value; _setupSettings = setupSettings.Value; _tickerSettings = tickerSettings.Value; _featuresSettings = featuresSettings.Value; _coldStakingSettings = coldStakingSettings.Value; }
public LotteryService(IMemoryCache memoryCache, ISettings settings, IDraws draws, IOptions <DrawSettings> drawSettings) { _memoryCache = memoryCache; _settings = settings; _draws = draws; _drawSettings = drawSettings.Value; _updateTimer = new System.Timers.Timer(); }
public HomeController(IMemoryCache memoryCache, IAsk ask, ISettings settings, IParticipation participation, IDraws draws, IOptions <DrawSettings> drawSettings, IOptions <SetupSettings> setupSettings, IOptions <FeaturesSettings> featuresSettings) { _memoryCache = memoryCache; _ask = ask; _settings = settings; _participation = participation; _draws = draws; _drawSettings = drawSettings.Value; _setupSettings = setupSettings.Value; _featuresSettings = featuresSettings.Value; }
public Participations(DatabaseContext databaseContext, IDraws draws) { _databaseContext = databaseContext; _draws = draws; }