public override void AddTask(IDatabaseTask task) { ClassicVersionTask script = new ClassicVersionTask(this, task.FileName); script.ExecutionOrder = task.ExecutionOrder; this.Tasks.Add(script); }
public override bool Equals(object obj) { ClassicVersionTask version = obj as ClassicVersionTask; if (object.ReferenceEquals(version, null)) { return(false); } return(this.Version.Equals(version.Version) && this.Name.Equals(version.Name, StringComparison.InvariantCultureIgnoreCase)); }