public ObjectTable() { notifier = new GCNotifier_Process(Cull); dictionary_lock = new object(); dictionary = new Dictionary <object, VALUE_TYPE>(WeakKeyComparer <OBJECT_TYPE> .INSTANCE); }
public IdentityTable() { notifier = new GCNotifier_Process(Cull); dictionary_lock = new object(); dictionary = new Dictionary <ID_TYPE, WeakReference <OBJECT_TYPE> >(); }
public Garbage(GCNotifier n) { notifier = n; }