public static void InspectCodeFromConfig(this ICakeContext context, FilePath configFile) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new InspectCodeRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber, context.Log); runner.RunFromConfig(configFile); }
public static void InspectCode(this ICakeContext context, FilePath solution, InspectCodeSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new InspectCodeRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber, context.Log); runner.Run(solution, settings); }