Class SynchronizedOrderedDictionary<TKey, TValue>
- Namespace
 - Ecng.Collections
 
- Assembly
 - Ecng.Collections.dll
 
Provides a thread-safe dictionary with keys ordered by a specified comparer.
public class SynchronizedOrderedDictionary<TKey, TValue> : SynchronizedDictionary<TKey, TValue>, ISynchronizedCollection<KeyValuePair<TKey, TValue>>, ISynchronizedCollection, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
  Type Parameters
TKeyTValue
- Inheritance
 - 
      
      SynchronizedDictionary<TKey, TValue>SynchronizedOrderedDictionary<TKey, TValue>
 
- Implements
 - 
      ISynchronizedCollection<KeyValuePair<TKey, TValue>>IDictionary<TKey, TValue>ICollection<KeyValuePair<TKey, TValue>>IEnumerable<KeyValuePair<TKey, TValue>>
 
- Derived
 
- Inherited Members
 
- Extension Methods
 
Constructors
SynchronizedOrderedDictionary()
Initializes a new instance of the SynchronizedOrderedDictionary<TKey, TValue> class using the default comparer.
public SynchronizedOrderedDictionary()
  SynchronizedOrderedDictionary(IComparer<TKey>)
Initializes a new instance of the SynchronizedOrderedDictionary<TKey, TValue> class using the specified comparer.
public SynchronizedOrderedDictionary(IComparer<TKey> comparer)
  Parameters
comparerIComparer<TKey>The comparer used to sort the keys.
SynchronizedOrderedDictionary(Func<TKey, TKey, int>)
Initializes a new instance of the SynchronizedOrderedDictionary<TKey, TValue> class using a custom comparison function.
public SynchronizedOrderedDictionary(Func<TKey, TKey, int> comparer)