Exemple #1
0
            public Enumerator(WeakCollection <T> list)
            {
                mutex     = list.mutex;
                this.list = list;

                mutex.EnterReadLock();
                try
                {
                    firstNode = list.firstNode;
                    lastNode  = list.lastNode;
                }
                finally
                {
                    mutex.ExitReadLock();
                }
            }
Exemple #2
0
 public Readonly(WeakCollection <T> parent)
 {
     this.parent = parent;
 }