Esempio n. 1
0
 public StartServerCommandHandler(IMediator mediator, IServerProcessManagerProvider procProvider, IRepository repository, ILogger <StartServerCommandHandler> logger)
 {
     _mediator    = mediator;
     _repository  = repository;
     _logger      = logger;
     _procManager = procProvider.GetProcessManagerProvider();
 }
Esempio n. 2
0
 public ServerStatService(ILoggerFactory logger,
                          IServerProcessManagerProvider procManager,
                          IRepository repository,
                          IGameQueryFactory gameQueryFactory,
                          IMediator mediator)
 {
     _logger           = logger.CreateLogger <ServerStatService>();
     _procManager      = procManager.GetProcessManagerProvider();
     _repository       = repository;
     _gameQueryFactory = gameQueryFactory;
     _mediator         = mediator;
 }
Esempio n. 3
0
 public GameServerManagerRefac(IGameFileManagerProvider fileProvider,
                               IBackgroundService backgroundService,
                               ILoggerFactory logFactory,
                               IServerProcessManagerProvider procManager,
                               IRepository repository)
 {
     _fileProvider      = fileProvider;
     _logFactory        = logFactory;
     _logger            = logFactory.CreateLogger <GameServerManagerRefac>();
     _backgroundService = backgroundService;
     _repository        = repository;
     _procManager       = procManager.GetProcessManagerProvider();
 }
Esempio n. 4
0
 public ServerStatusUpdateService(ILogger <ServerStatusUpdateService> logger, IRepository repository, IServerProcessManagerProvider procManager)
 {
     _logger      = logger;
     _repository  = repository;
     _procManager = procManager.GetProcessManagerProvider();
 }