Пример #1
0
 public LiveDomainService(ILogger <LiveDomainService> logger,
                          ILiveApi liveApi,
                          IOptionsMonitor <DailyTaskOptions> dailyTaskOptions)
 {
     _logger           = logger;
     _liveApi          = liveApi;
     _dailyTaskOptions = dailyTaskOptions.CurrentValue;
 }
Пример #2
0
 public LiveDomainService(ILogger <LiveDomainService> logger,
                          ILiveApi liveApi,
                          ICoinDomainService coinDomainService)
 {
     _logger            = logger;
     _liveApi           = liveApi;
     _coinDomainService = coinDomainService;
 }
Пример #3
0
 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;
 }