Changeset 64
- Timestamp:
- 03/14/08 00:45:29 (17 years ago)
- Location:
- trunk/sources/HeuristicLab.Data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/ItemList.cs
r41 r64 28 28 29 29 namespace HeuristicLab.Data { 30 public class ItemList : ItemList<IItem> { } 30 public class ItemList : ItemList<IItem> { 31 public override object Clone(IDictionary<Guid, object> clonedObjects) { 32 ItemList clone = new ItemList(); 33 clonedObjects.Add(Guid, clone); 34 for (int i = 0; i < list.Count; i++) 35 clone.list.Add((IItem)Auxiliary.Clone(list[i], clonedObjects)); 36 return clone; 37 } 38 } 31 39 } -
trunk/sources/HeuristicLab.Data/ItemList_T.cs
r60 r64 29 29 namespace HeuristicLab.Data { 30 30 public class ItemList<T> : ItemBase, IList<T> where T : IItem { 31 pr ivateList<T> list;31 protected List<T> list; 32 32 33 33 public ItemList() {
Note: See TracChangeset
for help on using the changeset viewer.