public static void DocFxMerge(this ICakeContext context, FilePath configFile, DocFxMergeSettings settings) { Contract.NotNull(context, nameof(context)); settings = settings ?? new DocFxMergeSettings(); var runner = new DocFxMergeRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run(configFile, settings); }
protected override void RunTool() { var tool = new DocFxMergeRunner(FileSystem, Environment, ProcessRunner, Tools); tool.Run(ConfigFilePath, Settings); }