public static void DotNetCoreEfMigrationRemove(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationRemoveSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settings == null) { settings = new DotNetCoreEfMigrationRemoveSettings(); } var runner = new DotNetCoreEfMigrationRemover(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Remove(project, arguments, settings); }
protected override void RunTool() { var tool = new DotNetCoreEfMigrationRemover(FileSystem, Environment, ProcessRunner, Tools); tool.Remove(Project, Arguments, Settings); }