Example #1
0
 public SysTrayApp(ConfigFileProvider configFileProvider, ProcessProvider processProvider,
                   IISProvider iisProvider, EnvironmentProvider environmentProvider)
 {
     _configFileProvider = configFileProvider;
     _processProvider = processProvider;
     _iisProvider = iisProvider;
     _environmentProvider = environmentProvider;
 }
 public void Setup()
 {
     Process.GetProcessesByName(DummyApp.DUMMY_PROCCESS_NAME).ToList().ForEach(c => c.Kill());
     _processProvider = new ProcessProvider();
 }