public LiveDomainService(ILogger <LiveDomainService> logger, ILiveApi liveApi, IOptionsMonitor <DailyTaskOptions> dailyTaskOptions) { _logger = logger; _liveApi = liveApi; _dailyTaskOptions = dailyTaskOptions.CurrentValue; }
public LiveDomainService(ILogger <LiveDomainService> logger, ILiveApi liveApi, ICoinDomainService coinDomainService) { _logger = logger; _liveApi = liveApi; _coinDomainService = coinDomainService; }
public LiveDomainService(ILogger <LiveDomainService> logger, ILiveApi liveApi, IOptionsMonitor <DailyTaskOptions> dailyTaskOptions, IOptionsMonitor <LiveLotteryTaskOptions> liveLotteryTaskOptions, BiliCookie biliCookie) { _logger = logger; _liveApi = liveApi; _liveLotteryTaskOptions = liveLotteryTaskOptions.CurrentValue; _biliCookie = biliCookie; _dailyTaskOptions = dailyTaskOptions.CurrentValue; }