Ejemplo n.º 1
0
        //private readonly Dictionary<int, Tuple<Process, IPtyConnection>> serverProcess = new Dictionary<int, Tuple<Process, IPtyConnection>>();

        public SourceHandler(
            IServiceProvider serviceProvider,
            IServiceScopeFactory serviceScopeFactory,
            SteamCMDService steamCMDServ,
            SteamAPIService steamAPIService,
            IConfiguration configuration,
            ILogger <SourceHandler> logger) :
            base(serviceProvider, serviceScopeFactory, steamCMDServ, steamAPIService, configuration)
        {
            _logger = logger;
        }
Ejemplo n.º 2
0
        public SteamCMDBaseHandler(IServiceProvider serviceProvider,
                                   IServiceScopeFactory serviceScopeFactory,
                                   SteamCMDService steamCMDServ,
                                   SteamAPIService steamAPIService,
                                   IConfiguration configuration)
        {
            _serviceProvider     = serviceProvider;
            _serviceScopeFactory = serviceScopeFactory;
            _steamCMDService     = steamCMDServ;
            _steamAPIService     = steamAPIService;
            _configuration       = configuration;

            _logger = _serviceProvider.GetRequiredService <ILogger <SteamCMDBaseHandler> >();
        }