- Timestamp:
- 02/20/14 14:56:39 (11 years ago)
- Location:
- branches/LogResidualEvaluator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LogResidualEvaluator
- Property svn:mergeinfo changed
-
branches/LogResidualEvaluator/HeuristicLab.Collections/3.3/ObservableList.cs
r9456 r10483 25 25 using System.ComponentModel; 26 26 using System.Linq; 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 29 … … 320 321 if (list.Count > 1) { 321 322 IndexedItem<T>[] oldItems = GetIndexedItems(); 322 list.S ort();323 list.StableSort(); 323 324 OnItemsMoved(GetIndexedItems(), oldItems); 324 325 OnPropertyChanged("Item[]"); … … 328 329 if (list.Count > 1) { 329 330 IndexedItem<T>[] oldItems = GetIndexedItems(); 330 list.S ort(comparison);331 list.StableSort(comparison); 331 332 OnItemsMoved(GetIndexedItems(), oldItems); 332 333 OnPropertyChanged("Item[]"); … … 336 337 if (list.Count > 1) { 337 338 IndexedItem<T>[] oldItems = GetIndexedItems(); 338 list.S ort(comparer);339 list.StableSort(comparer); 339 340 OnItemsMoved(GetIndexedItems(), oldItems); 340 341 OnPropertyChanged("Item[]"); … … 344 345 if (count > 1) { 345 346 IndexedItem<T>[] oldItems = GetIndexedItems(index, count); 346 list.S ort(index, count, comparer);347 list.StableSort(index, count, comparer); 347 348 OnItemsMoved(GetIndexedItems(index, count), oldItems); 348 349 OnPropertyChanged("Item[]");
Note: See TracChangeset
for help on using the changeset viewer.