public static void OpenshiftDelete(this ICakeContext context, OpenshiftDeleterSettings settings) { Check.NotNull(context, nameof(context)); Check.NotNull(settings, nameof(settings)); var deleter = new OpenshiftDeleter(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); deleter.Run(settings); }
protected override void RunTool() { var deleter = new OpenshiftDeleter(FileSystem, Environment, ProcessRunner, Tools); deleter.Run(Settings); }