public static void DotCoverAnalyse( this ICakeContext context, Action <ICakeContext> action, FilePath outputFile, DotCoverAnalyseSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settings == null) { settings = new DotCoverAnalyseSettings(); } // Create the DotCover analyser. var analyser = new DotCoverAnalyser( context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); // Run DotCover analyse. analyser.Analyse(context, action, outputFile, settings); }
protected override void RunTool() { var tool = new DotCoverAnalyser(FileSystem, Environment, ProcessRunner, Globber); tool.Analyse(Context, Action, OutputPath, Settings); }