コード例 #1
0
        public PersonLotteryAppService(IMapper mapper,
                                       IPersonLotteryRepository PersonLotteryRepository,
                                       ILotteryRepository lotteryRepository,
                                       IEventStoreRepository eventStoreRepository,
                                       IMediatorHandler bus,

                                       IJsonDashboardRepository jsonDashboardRepository,
                                       IPersonGameRepository personGameRepository,
                                       IPersonRepository personRepository,
                                       IConfigurationRepository configurationRepository,
                                       IEmailSender emailSender)
        {
            _mapper = mapper;
            _PersonLotteryRepository = PersonLotteryRepository;
            _LotteryRepository       = lotteryRepository;
            _eventStoreRepository    = eventStoreRepository;
            Bus = bus;

            _jsonDashboardRepository = jsonDashboardRepository;
            _personGameRepository    = personGameRepository;
            _personRepository        = personRepository;
            _configurationRepository = configurationRepository;

            _emailSender = emailSender;
        }
コード例 #2
0
 public PersonLotteryCommandHandler(IPersonLotteryRepository PersonLotteryRepository,
                                    IUnitOfWork uow,
                                    IMediatorHandler bus,
                                    INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications)
 {
     _PersonLotteryRepository = PersonLotteryRepository;
     Bus = bus;
 }