public static void LibManUninstall(this ICakeContext context, LibManUninstallSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settings == null) { throw new ArgumentNullException(nameof(settings)); } LibManAddinInformation.LogVersionInformation(context.Log); var uninstaller = new LibManUninstaller(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, context.Log); uninstaller.Uninstall(settings); }
protected override void RunTool() { var tool = new LibManUninstaller(FileSystem, Environment, ProcessRunner, Tools, Log); tool.Uninstall(Settings); }