public static void StyleCopReport(this ICakeContext context, ReportSettingsDelegate settingsDelegate) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settingsDelegate == null) { throw new ArgumentNullException(nameof(settingsDelegate)); } StyleCopRunner.Report(context, settingsDelegate); }
public static void StyleCopAnalyse(this ICakeContext context, FilePath solutionFile, FilePath settingsFile) { if (context == null) { throw new ArgumentNullException("context"); } if (solutionFile == null) { throw new ArgumentNullException("solutionFile"); } StyleCopRunner.Execute(context, solutionFile, settingsFile); }
public static void StyleCopAnalyse(this ICakeContext context, SettingsDelegate settingsDelegate) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settingsDelegate == null) { throw new ArgumentNullException(nameof(settingsDelegate)); } StyleCopRunner.Execute(context, settingsDelegate); }