public static void MonoApiInfo(this ICakeContext context, FilePath[] assemblies, FilePath outputFile, MonoApiInfoToolSettings settings) { if (assemblies == null) { throw new ArgumentNullException(nameof(assemblies)); } if (outputFile == null) { throw new ArgumentNullException(nameof(outputFile)); } var tool = new MonoApiInfoTool(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); tool.Execute(assemblies, outputFile, settings); }
public static void MonoApiInfo(this ICakeContext context, FilePath dotNetAssembly, FilePath outputFile, MonoApiInfoToolSettings settings) { if (dotNetAssembly == null) { throw new ArgumentNullException(nameof(dotNetAssembly)); } MonoApiInfo(context, new[] { dotNetAssembly }, outputFile, settings); }