예제 #1
0
 public bool Contains(object item)
 {
     return(_collectionView.Contains(item));
 }
예제 #2
0
 public bool Contains(object item)
 {
     return(view.Contains(item));
 }
예제 #3
0
 /// <summary>
 /// Determines whether the <see cref="T:System.Collections.Generic.ICollection`1"/> contains a specific value.
 /// </summary>
 /// <returns>
 /// true if <paramref name="item"/> is found in the <see cref="T:System.Collections.Generic.ICollection`1"/>; otherwise, false.
 /// </returns>
 /// <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.ICollection`1"/>.</param>
 public bool Contains(T item)
 {
     // ReSharper disable once AssignNullToNotNullAttribute
     return(_collectionView.Contains(item));
 }