public DonateCoinDomainService(
     ILogger <DonateCoinDomainService> logger,
     IDailyTaskApi dailyTaskApi,
     BiliCookie cookie,
     IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
     IAccountApi accountApi,
     ICoinDomainService coinDomainService,
     IVideoDomainService videoDomainService,
     IRelationApi relationApi,
     IOptionsMonitor <Dictionary <string, int> > expDicOptions,
     IOptionsMonitor <Dictionary <string, string> > donateContinueStatusDicOptions,
     IVideoApi videoApi
     )
 {
     _logger                  = logger;
     _dailyTaskApi            = dailyTaskApi;
     _biliBiliCookie          = cookie;
     _dailyTaskOptions        = dailyTaskOptions.CurrentValue;
     _accountApi              = accountApi;
     _coinDomainService       = coinDomainService;
     _videoDomainService      = videoDomainService;
     _relationApi             = relationApi;
     _videoApi                = videoApi;
     _expDic                  = expDicOptions.Get(Constants.OptionsNames.ExpDictionaryName);
     _donateContinueStatusDic = donateContinueStatusDicOptions.Get(Constants.OptionsNames.DonateCoinCanContinueStatusDictionaryName);
 }
Ejemplo n.º 2
0
 public AccountDomainService(ILogger <AccountDomainService> logger,
                             IDailyTaskApi dailyTaskApi,
                             IOptionsMonitor <BiliBiliCookieOptions> cookie)
 {
     _logger       = logger;
     _dailyTaskApi = dailyTaskApi;
     _cookie       = cookie.CurrentValue;
 }
Ejemplo n.º 3
0
 public CoinDomainService(
     IAccountApi accountApi,
     IDailyTaskApi dailyTaskApi
     )
 {
     _accountApi   = accountApi;
     _dailyTaskApi = dailyTaskApi;
 }
Ejemplo n.º 4
0
 public ChargeDomainService(ILogger <ChargeDomainService> logger,
                            IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
                            IDailyTaskApi dailyTaskApi,
                            IOptionsMonitor <BiliBiliCookieOptions> cookieOptions)
 {
     _logger           = logger;
     _dailyTaskOptions = dailyTaskOptions.CurrentValue;
     _dailyTaskApi     = dailyTaskApi;
     _cookieOptions    = cookieOptions.CurrentValue;
 }
 public AccountDomainService(ILogger <AccountDomainService> logger,
                             IDailyTaskApi dailyTaskApi,
                             IOptionsMonitor <BiliBiliCookieOptions> cookie,
                             IOptionsMonitor <Dictionary <string, int> > dicOptions)
 {
     _logger       = logger;
     _dailyTaskApi = dailyTaskApi;
     _cookie       = cookie.CurrentValue;
     _expDic       = dicOptions.Get(Constants.OptionsNames.ExpDictionaryName);
 }
 public VipPrivilegeDomainService(ILogger <VipPrivilegeDomainService> logger,
                                  IDailyTaskApi dailyTaskApi,
                                  IOptionsMonitor <BiliBiliCookieOptions> biliBiliCookieOptions,
                                  IOptionsMonitor <DailyTaskOptions> dailyTaskOptions)
 {
     _logger                = logger;
     _dailyTaskApi          = dailyTaskApi;
     _dailyTaskOptions      = dailyTaskOptions.CurrentValue;
     _biliBiliCookieOptions = biliBiliCookieOptions.CurrentValue;
 }
Ejemplo n.º 7
0
 public AccountDomainService(
     ILogger <AccountDomainService> logger,
     IDailyTaskApi dailyTaskApi,
     BiliCookie cookie,
     IUserInfoApi userInfoApi
     )
 {
     _logger       = logger;
     _dailyTaskApi = dailyTaskApi;
     _cookie       = cookie;
     _userInfoApi  = userInfoApi;
 }
Ejemplo n.º 8
0
 public VideoDomainService(ILogger <VideoDomainService> logger,
                           IDailyTaskApi dailyTaskApi,
                           IOptionsMonitor <BiliBiliCookieOptions> biliBiliCookieOptions,
                           IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
                           IRelationApi relationApi)
 {
     _logger                = logger;
     _dailyTaskApi          = dailyTaskApi;
     _relationApi           = relationApi;
     _biliBiliCookieOptions = biliBiliCookieOptions.CurrentValue;
     _dailyTaskOptions      = dailyTaskOptions.CurrentValue;
 }
Ejemplo n.º 9
0
 public CoinDomainService(ILogger <CoinDomainService> logger,
                          IHttpClientFactory httpClientFactory,
                          IOptionsMonitor <BiliBiliCookieOptions> biliBiliCookieOptions,
                          IAccountApi accountApi,
                          IDailyTaskApi dailyTaskApi)
 {
     _logger                = logger;
     _httpClientFactory     = httpClientFactory;
     _biliBiliCookieOptions = biliBiliCookieOptions.CurrentValue;
     _accountApi            = accountApi;
     _dailyTaskApi          = dailyTaskApi;
 }
Ejemplo n.º 10
0
 public ChargeDomainService(
     ILogger <ChargeDomainService> logger,
     IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
     IDailyTaskApi dailyTaskApi,
     BiliCookie cookie,
     IChargeApi chargeApi
     )
 {
     _logger           = logger;
     _dailyTaskOptions = dailyTaskOptions.CurrentValue;
     _dailyTaskApi     = dailyTaskApi;
     _cookie           = cookie;
     _chargeApi        = chargeApi;
 }
Ejemplo n.º 11
0
 public VideoDomainService(ILogger <VideoDomainService> logger,
                           IDailyTaskApi dailyTaskApi,
                           IOptionsMonitor <BiliBiliCookieOptions> biliBiliCookieOptions,
                           IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
                           IOptionsMonitor <Dictionary <string, int> > dicOptions,
                           IRelationApi relationApi)
 {
     _logger                = logger;
     _dailyTaskApi          = dailyTaskApi;
     _relationApi           = relationApi;
     _biliBiliCookieOptions = biliBiliCookieOptions.CurrentValue;
     _expDic                = dicOptions.Get(Constants.OptionsNames.ExpDictionaryName);
     _dailyTaskOptions      = dailyTaskOptions.CurrentValue;
 }
Ejemplo n.º 12
0
 public AccountDomainService(
     ILogger <AccountDomainService> logger,
     IDailyTaskApi dailyTaskApi,
     BiliCookie cookie,
     IOptionsMonitor <Dictionary <string, int> > dicOptions,
     IUserInfoApi userInfoApi
     )
 {
     _logger       = logger;
     _dailyTaskApi = dailyTaskApi;
     _cookie       = cookie;
     _userInfoApi  = userInfoApi;
     _expDic       = dicOptions.Get(Constants.OptionsNames.ExpDictionaryName);
 }
Ejemplo n.º 13
0
 public VideoDomainService(ILogger <VideoDomainService> logger,
                           IDailyTaskApi dailyTaskApi,
                           IOptionsMonitor <BiliBiliCookieOptions> biliBiliCookieOptions,
                           IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
                           IAccountApi accountApi,
                           ICoinDomainService coinDomainService)
 {
     _logger                = logger;
     _dailyTaskApi          = dailyTaskApi;
     _biliBiliCookieOptions = biliBiliCookieOptions.CurrentValue;
     _dailyTaskOptions      = dailyTaskOptions.CurrentValue;
     _accountApi            = accountApi;
     _coinDomainService     = coinDomainService;
 }
 public DonateCoinDomainService(ILogger <DonateCoinDomainService> logger,
                                IDailyTaskApi dailyTaskApi,
                                IOptionsMonitor <BiliBiliCookieOptions> cookieOptions,
                                IOptionsMonitor <DailyTaskOptions> dailyTaskOptions,
                                IAccountApi accountApi,
                                ICoinDomainService coinDomainService,
                                IVideoDomainService videoDomainService,
                                IRelationApi relationApi)
 {
     _logger                = logger;
     _dailyTaskApi          = dailyTaskApi;
     _biliBiliCookieOptions = cookieOptions.CurrentValue;
     _dailyTaskOptions      = dailyTaskOptions.CurrentValue;
     _accountApi            = accountApi;
     _coinDomainService     = coinDomainService;
     _videoDomainService    = videoDomainService;
     _relationApi           = relationApi;
 }
Ejemplo n.º 15
0
 public AccountDomainService(ILogger <AccountDomainService> logger,
                             IDailyTaskApi dailyTaskApi)
 {
     _logger       = logger;
     _dailyTaskApi = dailyTaskApi;
 }