public TrayIconManager(ILogger logger, IApplicationLifetime lifetime, IWindowsServices windowsServices) { _logger = logger; _lifetime = lifetime; _windowsServices = windowsServices; _tray = ElectronNET.API.Electron.Tray; }
public ShortcutManager(IConfigurationProvider configProvider, IWindowsServices windowServices) { _configProvider = configProvider; _currentConfig = _configProvider.GetAppConfiguration(); _windowServices = windowServices; _shortcuts = ElectronNET.API.Electron.GlobalShortcut; configProvider.ConfigurationUpdated += (sender, args) => BindShortcuts(); }
public WindowsServiceHandler(IRuntimeSettings runtimeSettings, IWindowsFactory windows) { if (runtimeSettings == null) { throw new ArgumentNullException("runtimeSettings"); } this._runtimeSettings = runtimeSettings; this._windowsServices = windows.WindowsServices(null); }
public WindowsServiceManager(IWindowsServiceProviderFactory providerFactory, IFilesHelper filesHelper, IWindowsServices serviceNames) { _providerFactory = providerFactory ?? throw new ArgumentNullException(nameof(providerFactory)); _filesHelper = filesHelper ?? throw new ArgumentNullException(nameof(filesHelper)); _serviceNames = serviceNames ?? throw new ArgumentNullException(nameof(serviceNames)); if (!_serviceNames.Any()) { throw new ArgumentNullException(nameof(serviceNames)); } }
public DeploymentHelperHost( IWindowsFactory windows, ILiteServerFactory liteServerFactory, IConsoleWriter consoleWriter, IShutdown shutdown, IHttpServerFactory httpServerFactory, IWindowsServiceHandler windowsServiceHandler, IRuntimeSettings settings) { _shutdown = shutdown; _httpServerFactory = httpServerFactory; _windowsServiceHandler = windowsServiceHandler; _settings = settings; _liteServerFactory = liteServerFactory; _consoleWriter = consoleWriter; _windowsServices = windows.WindowsServices(); }
public QueryHub( IQueryService queryService, IExecutionService executionService, IWindowsServices windowServices, IConfigurationProvider configProvider, IClientStreamRepository streamRepo) { _queryService = queryService; _executionService = executionService; _windowServices = windowServices; _configProvider = configProvider; _streamRepo = streamRepo; }
public WindowsServiceHandler(IRuntimeSettings runtimeSettings, IWindowsFactory windows) { _runtimeSettings = runtimeSettings; _windowsServices = windows.WindowsServices(); }
public WindowsServiceController(IWindowsFactory windows, IRuntimeSettings settings) { _settings = settings; _windowsServices = windows.WindowsServices(); }