new public void Insert(int index, Template val) { if (_package != null) { val.SetPackage(_package); } if ( this.Contains(val) ) { this.Remove(val); } this.Insert(index, val); }
new public int Add(Template val) { if (_package != null) { val.SetPackage(_package); } if ( !this.Contains(val) ) { return base.Add(val); } return -1; }