Esempio n. 1
0
 public InternalWeakDictionary(KeyComparer <TWeakKey1, TWeakKey2, TWeakKey3, TWeakKey4, TStrongKey> keyComparer)
     : base(keyComparer)
 {
     _comparer = keyComparer;
     MaintenanceWorker.Register(this);
 }
Esempio n. 2
0
 public Level1CacheClass(IEqualityComparer <TKey> keyComparer)
     : base(keyComparer)
 {
     _GC2Count = GC.CollectionCount(2);
     MaintenanceWorker.Register(this);
 }
Esempio n. 3
0
 public InternalWeakDictionary(int concurrencyLevel, int capacity, KeyComparer <TWeakKey1, TWeakKey2, TWeakKey3, TWeakKey4, TStrongKey> keyComparer)
     : base(concurrencyLevel, capacity, keyComparer)
 {
     _comparer = keyComparer;
     MaintenanceWorker.Register(this);
 }