Пример #1
0
 public GameService(IGameCommandRepository gameRepository, ILoggerFactory loggerFactory)
 {
     _repository = gameRepository;
     _logger     = loggerFactory.CreateLogger <GameService>();
 }
 public DeleteGameCommandHandler(IGameCommandRepository repository, IGameService gameService, ILoggerFactory iLoggerFactory)
 {
     _repository  = repository;
     _gameService = gameService;
     _logger      = iLoggerFactory.CreateLogger <DeleteGameCommandHandler>();
 }
 public CreateGameCommandHandler(IGameCommandRepository gameCommandRepository, IEventPublisher eventPublisher)
 {
     _gameCommandRepository = gameCommandRepository;
     _eventPublisher        = eventPublisher;
 }
Пример #4
0
 public DeleteGameCommandHandler(IGameCommandRepository gameCommandRepository)
 {
     _gameCommandRepository = gameCommandRepository;
 }