Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SortedObservableCollection.cs File Reference

Go to the source code of this file.

Classes

class  SiliconStudio.Presentation.Collections.SortedObservableCollection< T >
 An observable collection that automatically sorts inserted items using either the default comparer for their type, or a custom provider comparer. Insertion and search are both O(log(n)). The method BinarySearch must be used for O(log(n)). If items are modified outside from the collection and these changes affect the order, the collection won't be updated. You must remove them from the collection before modifying it, and re-add it afterwards. Use an AutoUpdatingSortedObservableCollection{T} if you want to maintain order after modifying items. More...
 

Namespaces

package  SiliconStudio.Presentation.Collections