public static IAdvProcess StartIISExpress(this ICakeContext context, ConfigBasedIISExpressSettings settings) { if (context == null) throw new ArgumentNullException("context"); if (settings == null) throw new ArgumentNullException("settings"); var runner = new ConfigBasedIISExpressRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber, context.Registry, context.Log, new AdvProcessRunner(context.Environment, context.Log)); return runner.StartServer(settings); }
public static IAdvProcess StartIISExpress(this ICakeContext context, ConfigBasedIISExpressSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } if (settings == null) { throw new ArgumentNullException("settings"); } var runner = new ConfigBasedIISExpressRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber, context.Registry, context.Log, new AdvProcessRunner(context.Environment, context.Log)); return(runner.StartServer(settings)); }