Exemplo n.º 1
0
        public ObjectTable()
        {
            notifier = new GCNotifier_Process(Cull);

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

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