示例#1
0
        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);
        }
示例#2
0
        protected override void RunTool()
        {
            var tool = new DocFxInitRunner(FileSystem, Environment, ProcessRunner, Tools);

            tool.Run(Settings);
        }