示例#1
0
        public bool Contains(KeyValuePair <K, T> pair)
        {
            TreeItem item = GetItem(pair.Key);

            return(item != null && item.GetHashCode() == pair.GetHashCode() && item.Value.GetHashCode() == pair.Value.GetHashCode());
        }