Exemplo n.º 1
0
 public GameService(
     IMapper mapper,
     IMediatorHandler mediator,
     IGameReadRepository gameReadRepository)
 {
     this.mapper             = mapper;
     this.mediator           = mediator;
     this.gameReadRepository = gameReadRepository;
 }
Exemplo n.º 2
0
 public GameCommandHandler(IUnitOfWork unitOfWork,
                           IMediatorHandler mediator,
                           INotificationHandler <DomainNotification> domainNotifications,
                           IGameReadRepository gameReadRepository,
                           IGameWriteRepository gameWriteRepository) : base(unitOfWork, mediator, domainNotifications)
 {
     this.gameReadRepository  = gameReadRepository;
     this.gameWriteRepository = gameWriteRepository;
     this.mediator            = mediator;
 }