コード例 #1
0
ファイル: WeakCollection.cs プロジェクト: tretikoff/Hogwarts
 /// <summary>
 /// Determines whether the collection contains a specific value.
 /// </summary>
 /// <param name="item">The object to locate.</param>
 /// <returns>True if the collection contains a specific value; false if it does not.</returns>
 bool ICollection <T> .Contains(T item)
 {
     return(LiveListWithoutPurge.Contains(item));
 }
コード例 #2
0
 /// <summary>
 /// Determines whether the collection contains a specific value.
 /// </summary>
 /// <param name="item">The object to locate.</param>
 /// <returns>True if the collection contains a specific value; false if it does not.</returns>
 public bool Contains(T item)
 {
     return(LiveListWithoutPurge.Contains(item));
 }