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 WebApiBackgroundServer(IHttpServerFactory factory)
 {
     _factory = factory;
 }
Exemplo n.º 3
0
 public WebApiHost(IHttpServerFactory factory, IShutdown shutdown)
 {
     _factory  = factory;
     _shutdown = shutdown;
 }