Ejemplo n.º 1
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;
 }
Ejemplo n.º 2
0
 public AccountController(IRepository <Account> accountRepository, IRepository <Post> postRepository, IRepository <Comment> commentRepository, IAccountDomainService accountDomainService)
 {
     _accountRepository    = accountRepository;
     _postRepository       = postRepository;
     _commentRepository    = commentRepository;
     _accountDomainService = accountDomainService;
 }
 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;
 }
 public EmployeeApplicationService(IEmployeeDomainService employeeService,
                                   IAccountDomainService accountService, IMapper mapper)
 {
     _employeeService = employeeService;
     _accountService  = accountService;
     _mapper          = mapper;
 }
Ejemplo n.º 5
0
 public AccountService(
     IAccountRepository accountRepository,
     IAccountDomainService accountDomainService)
 {
     _accountRepository    = accountRepository;
     _accountDomainService = accountDomainService;
 }
 public AccountService(IAccountDomainService accountDomainService, IAccountDataAgent accountDataAgent, IAccountMapper accountMapper, ILogger logger)
 {
     _accountDomainService = accountDomainService;
     _accountDataAgent     = accountDataAgent;
     _accountMapper        = accountMapper;
     _logger = logger;
 }
Ejemplo n.º 7
0
 public AccountApplicationService(IAccountDomainService accountService,
                                  IJwtTokenDomainService jwtTokenService, IEmailDomainService emailService, IMapper mapper)
 {
     _accountService  = accountService;
     _jwtTokenService = jwtTokenService;
     _emailService    = emailService;
     _mapper          = mapper;
 }
Ejemplo n.º 8
0
 public TestAppService(
     IConfiguration configuration,
     ILogger <LiveLotteryTaskAppService> logger,
     IAccountDomainService accountDomainService
     ) : base(logger, null, 0)
 {
     _configuration        = configuration;
     _logger               = logger;
     _accountDomainService = accountDomainService;
 }
Ejemplo n.º 9
0
 public UnfollowBatchedTaskAppService(
     IConfiguration configuration,
     IOptionsMonitor <SecurityOptions> securityOptions,
     IOptionsMonitor <UnfollowBatchedTaskOptions> unfollwBatchedTaskOptions,
     ILogger <LiveLotteryTaskAppService> logger,
     IAccountDomainService accountDomainService
     )
 {
     _configuration              = configuration;
     _securityOptions            = securityOptions.CurrentValue;
     _logger                     = logger;
     _accountDomainService       = accountDomainService;
     _unfollowBatchedTaskOptions = unfollwBatchedTaskOptions.CurrentValue;
 }
 public LiveLotteryTaskAppService(
     IConfiguration configuration,
     ILiveDomainService liveDomainService,
     IOptionsMonitor <SecurityOptions> securityOptions,
     IOptionsMonitor <LiveLotteryTaskOptions> liveLotteryTaskOptions,
     ILogger <LiveLotteryTaskAppService> logger,
     IAccountDomainService accountDomainService
     )
 {
     _configuration          = configuration;
     _liveDomainService      = liveDomainService;
     _liveLotteryTaskOptions = liveLotteryTaskOptions.CurrentValue;
     _securityOptions        = securityOptions.CurrentValue;
     _logger = logger;
     _accountDomainService = accountDomainService;
 }
Ejemplo n.º 11
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;
 }
Ejemplo n.º 12
0
 public AccountAppService(IAccountDomainService accountDomainService)
 {
     _accountDomainService = accountDomainService;
 }
Ejemplo n.º 13
0
 public VipAccountDomainServiceTests()
 {
     _accountDomainService = new VipAccountDomainService();
 }
Ejemplo n.º 14
0
 public AccountApplication(IAccountRepository userRepository, IAccountDomainService accountService)
 {
     _userRepository = userRepository;
     _accountService = accountService;
 }
Ejemplo n.º 15
0
 public PostController(IRepository <Post> postRepository, IAccountDomainService accountDomainService, IConfiguration configuration)
 {
     _postRepository       = postRepository;
     _accountDomainService = accountDomainService;
     _configuration        = configuration;
 }
Ejemplo n.º 16
0
 public AccountController(IAccountDomainService service)
 {
     _service = service;
 }
Ejemplo n.º 17
0
 public CommentController(IRepository <Comment> commentRepository, IAccountDomainService accountDomainService)
 {
     _commentRepository    = commentRepository;
     _accountDomainService = accountDomainService;
 }
Ejemplo n.º 18
0
 public AccountsController(IAccountDomainService accountService, IUserDomainService userService)
 {
     _accountService = accountService;
     _userService    = userService;
 }
Ejemplo n.º 19
0
 public AccountService(IUnitOfWork unitOfWork, IAccountDomainService accountDomainService)
 {
     _unitOfWork           = unitOfWork;
     _accountDomainService = accountDomainService;
 }
 public AccountApplicationService(IAccountDomainService accountDomainService)
 {
     this.accountDomainService = accountDomainService;
 }
 public StandardAccountDomainServiceTests()
 {
     _accountDomainService = new StandardAccountDomainService();
 }