Beispiel #1
0
        public ObjectTable()
        {
            notifier = new GCNotifier_Process(Cull);

            dictionary_lock = new object();
            dictionary      = new Dictionary <object, VALUE_TYPE>(WeakKeyComparer <OBJECT_TYPE> .INSTANCE);
        }
Beispiel #2
0
        public IdentityTable()
        {
            notifier = new GCNotifier_Process(Cull);

            dictionary_lock = new object();
            dictionary      = new Dictionary <ID_TYPE, WeakReference <OBJECT_TYPE> >();
        }
Beispiel #3
0
 public Garbage(GCNotifier n)
 {
     notifier = n;
 }