Exemplo n.º 1
0
 /// <summary>Initializes a new instance of the NServiceKit.Net30.Collections.Concurrent.ConcurrentDictionary&lt;TKey, TValue&gt; class.</summary>
 ///
 /// <param name="comparer">The comparer.</param>
 public ConcurrentDictionary(IEqualityComparer <TKey> comparer)
 {
     this.comparer           = comparer;
     this.internalDictionary = new SplitOrderedList <TKey, KeyValuePair <TKey, TValue> > (comparer);
 }
Exemplo n.º 2
0
 /// <summary>Clears this object to its blank/initial state.</summary>
 public void Clear()
 {
     // Pronk
     internalDictionary = new SplitOrderedList <TKey, KeyValuePair <TKey, TValue> > (comparer);
 }