public static void DocFxInit(this ICakeContext context, DocFxInitSettings settings) { Contract.NotNull(context, nameof(context)); settings = settings ?? new DocFxInitSettings(); var runner = new DocFxInitRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run(settings); }
protected override void RunTool() { var tool = new DocFxInitRunner(FileSystem, Environment, ProcessRunner, Tools); tool.Run(Settings); }