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