public static void DotNetCoreRun(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreRunSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } if (settings == null) { settings = new DotNetCoreRunSettings(); } var runner = new DotNetCoreRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run(project, arguments, settings); }
protected override void RunTool() { var tool = new DotNetCoreRunner(FileSystem, Environment, ProcessRunner, Tools); tool.Run(Project, Arguments, Settings); }