public void Process(Process <KeyValuePair <object, VALUE_TYPE> > process) { lock (dictionary_lock) { dictionary.Reduce(delegate(KeyValuePair <object, VALUE_TYPE> pair) { if (WeakKey <OBJECT_TYPE> .DereferenceIsNull(pair.Key) == false) { process(pair); return(true); } return(false); }); } }
public new bool Equals(object x, object y) { return(WeakKey <T> .DereferenceEquals(x, y)); }
public int GetHashCode(object obj) { return(WeakKey <T> .DereferenceHashCode(obj)); }