示例#1
0
 /// <summary>
 /// Determines whether the LazyDictionary contains a specific KeyValuePair.
 /// </summary>
 /// <param name="item">The object to locate in the LazyDictionary.</param>
 /// <returns>True if item is found in the LazyDictionary; otherwise, false.</returns>
 public bool Contains(KeyValuePair <TKey, TValue> item)
 {
     return(InnerDictionary.Contains(item));
 }
 public bool Contains(KeyValuePair <string, object> item)
 {
     return(InnerDictionary.Contains(item));
 }
示例#3
0
 /// <inheritdoc />
 public bool Contains(KeyValuePair <TKey, TValue> item)
 {
     using (writeLock.LockRead())
         return(InnerDictionary.Contains(item));
 }