public void CleanUp() { if (Process.GetProcesses().Count(s => s.Id == this.iisExpress.IISProcessId) == 0) { return; } this.iisExpress.Stop(); this.iisExpress = null; }
public void Init() { this.iisExpress = GivenANewIISExpressInstance(); }