public void SetUp() { _shell = new ContinuousManagementFactory().WindowsServiceShell(); _serviceInstaller = new ServiceInstaller(); _nameGenerator = new NameGenerator(); }
internal WindowsServiceInfoUpdate(Model.WindowsServiceInfo service, IWindowsServiceShell windowsShell, IWindowsServiceModelManager manager) { _shell = windowsShell; _service = service; _manager = manager; _cache = new ConfigurationCache(); }
public void SetUp() { _shell = new ContinuousManagementFactory().WindowsServiceShell(); _nameGenerator = new NameGenerator(); _serviceInstaller = new ServiceInstaller(); _serviceInstaller.ServicePath = _serviceInstaller.ServicePath.Replace("BasicService", "BasicService2"); }
public ServiceInstaller() { _shell = new ContinuousManagementFactory().WindowsServiceShell(); var location = AppDomain.CurrentDomain.BaseDirectory; ServicePath = Path.Combine(location, "CompiledTestService", "Continuous.Test.BasicService.exe"); }
public WindowsServiceRescuer(IWindowsServiceShell serviceShell) { _serviceShell = serviceShell; }