public bool TryGetValue(string key, out EquatableObject value) { Contracts.AssertValue(key); bool fRet = RedBlackNode <EquatableObject> .TryGetValue(_root, key, out value); Contracts.Assert(fRet == (value.Object != null)); return(fRet); }
public bool TryGetValue(string key, out DType value) { Contracts.AssertValue(key); bool fRet = RedBlackNode <DType> .TryGetValue(_root, key, out value); value = value ?? DType.Invalid; Contracts.Assert(fRet == value.IsValid); return(fRet); }