//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; }
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> >(); }