public static void LibManInstall(this ICakeContext context, LibManInstallSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settings == null) { throw new ArgumentNullException(nameof(settings)); } LibManAddinInformation.LogVersionInformation(context.Log); var installer = new LibManInstaller(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, context.Log); installer.Install(settings); }
protected override void RunTool() { var tool = new LibManInstaller(FileSystem, Environment, ProcessRunner, Tools, Log); tool.Install(Settings); }