public DailyTaskAppService(
     ILogger <DailyTaskAppService> logger,
     IOptionsMonitor <Dictionary <string, int> > dicOptions,
     IAccountDomainService loginDomainService,
     IVideoDomainService videoDomainService,
     IDonateCoinDomainService donateCoinDomainService,
     IMangaDomainService mangaDomainService,
     ILiveDomainService liveDomainService,
     IVipPrivilegeDomainService vipPrivilegeDomainService,
     IChargeDomainService chargeDomainService,
     IOptionsMonitor <SecurityOptions> securityOptions,
     IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
     ICoinDomainService coinDomainService
     )
 {
     _logger                    = logger;
     _expDic                    = dicOptions.Get(Constants.OptionsNames.ExpDictionaryName);
     _loginDomainService        = loginDomainService;
     _videoDomainService        = videoDomainService;
     _donateCoinDomainService   = donateCoinDomainService;
     _mangaDomainService        = mangaDomainService;
     _liveDomainService         = liveDomainService;
     _vipPrivilegeDomainService = vipPrivilegeDomainService;
     _chargeDomainService       = chargeDomainService;
     _dailyTaskOptions          = dailyTaskOptions.CurrentValue;
     _coinDomainService         = coinDomainService;
     _securityOptions           = securityOptions.CurrentValue;
 }
예제 #2
0
 public DailyTaskAppService(
     ILogger <DailyTaskAppService> logger,
     IAccountDomainService loginDomainService,
     IVideoDomainService videoDomainService,
     IDonateCoinDomainService donateCoinDomainService,
     IMangaDomainService mangaDomainService,
     ILiveDomainService liveDomainService,
     IVipPrivilegeDomainService vipPrivilegeDomainService,
     IChargeDomainService chargeDomainService,
     IOptionsMonitor <SecurityOptions> securityOptions,
     IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
     ICoinDomainService coinDomainService
     )
 {
     _logger                    = logger;
     _loginDomainService        = loginDomainService;
     _videoDomainService        = videoDomainService;
     _donateCoinDomainService   = donateCoinDomainService;
     _mangaDomainService        = mangaDomainService;
     _liveDomainService         = liveDomainService;
     _vipPrivilegeDomainService = vipPrivilegeDomainService;
     _chargeDomainService       = chargeDomainService;
     _dailyTaskOptions          = dailyTaskOptions.CurrentValue;
     _coinDomainService         = coinDomainService;
     _securityOptions           = securityOptions.CurrentValue;
 }
예제 #3
0
 public DailyTaskAppService(
     ILogger <DailyTaskAppService> logger,
     IAccountDomainService loginDomainService,
     IVideoDomainService videoDomainService,
     IMangaDomainService mangaDomainService,
     ILiveDomainService liveDomainService,
     IVipPrivilegeDomainService vipPrivilegeDomainService,
     IChargeDomainService chargeDomainService)
 {
     _logger                    = logger;
     _loginDomainService        = loginDomainService;
     _videoDomainService        = videoDomainService;
     _mangaDomainService        = mangaDomainService;
     _liveDomainService         = liveDomainService;
     _vipPrivilegeDomainService = vipPrivilegeDomainService;
     _chargeDomainService       = chargeDomainService;
 }