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