Ejemplo n.º 1
0
 public WindowsServiceHandler(IRuntimeSettings runtimeSettings, IWindowsFactory windows)
 {
     if (runtimeSettings == null)
     {
         throw new ArgumentNullException("runtimeSettings");
     }
     this._runtimeSettings = runtimeSettings;
     this._windowsServices = windows.WindowsServices(null);
 }
 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();
 }
Ejemplo n.º 3
0
 public WindowsServiceHandler(IRuntimeSettings runtimeSettings, IWindowsFactory windows)
 {
     _runtimeSettings = runtimeSettings;
     _windowsServices = windows.WindowsServices();
 }
Ejemplo n.º 4
0
 public WindowsServiceController(IWindowsFactory windows, IRuntimeSettings settings)
 {
     _settings        = settings;
     _windowsServices = windows.WindowsServices();
 }