/// <summary> /// Determines whether the <see cref="FileBackedHashSet{T}"/> contains a specific value. /// </summary> /// <param name="item">The object to locate in the <see cref="FileBackedHashSet{T}"/>.</param> /// <returns> /// true if <paramref name="item"/> is found in the <see cref="FileBackedHashSet{T}"/>; otherwise, false. /// </returns> public bool Contains(T item) { return(m_lookupTable.ContainsKey(item)); }
/// <summary> /// Determines whether the <see cref="FileBackedDictionary{TKey, TValue}"/> contains an element with the specified key. /// </summary> /// <returns> /// true if the <see cref="FileBackedDictionary{TKey, TValue}"/> contains an element with the key; otherwise, false. /// </returns> /// <param name="key">The key to locate in the <see cref="FileBackedDictionary{TKey, TValue}"/>.</param> /// <exception cref="ArgumentNullException"><paramref name="key"/> is null.</exception> public bool ContainsKey(TKey key) { return(m_lookupTable.ContainsKey(key)); }