Changeset 3567
- Timestamp:
- 04/30/10 10:24:50 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemCollection.cs
r3564 r3567 73 73 } 74 74 75 public void Add(T item, bool checkedState) { 76 Add(item); 77 SetItemCheckedState(item, checkedState); 78 } 79 75 80 protected override void OnCollectionReset(IEnumerable<T> items, IEnumerable<T> oldItems) { 76 81 foreach (var oldItem in oldItems) -
trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemList.cs
r3565 r3567 85 85 } 86 86 87 public void Add(T item, bool checkedState) { 88 Add(item); 89 SetItemCheckedState(item, checkedState); 90 } 91 92 public void Insert(int index, T item, bool checkedState) { 93 Insert(index, item); 94 SetItemCheckedState(item, checkedState); 95 } 96 87 97 protected override void OnCollectionReset(IEnumerable<IndexedItem<T>> items, IEnumerable<IndexedItem<T>> oldItems) { 88 98 foreach (var oldIndexedItem in oldItems) { -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/ICheckedItemCollection.cs
r3562 r3567 29 29 bool ItemChecked(T item); 30 30 void SetItemCheckedState(T item, bool checkedState); 31 void Add(T item, bool checkedState); 31 32 } 32 33 } -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/ICheckedItemList.cs
r3565 r3567 29 29 bool ItemChecked(T item); 30 30 void SetItemCheckedState(T item, bool checkedState); 31 void Add(T item, bool checkedState); 32 void Insert(int index, T item, bool checkedState); 31 33 } 32 34 }
Note: See TracChangeset
for help on using the changeset viewer.