コード例 #1
0
 /// <summary>
 /// Gets true if the collection contains the given item
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public bool Contains(T item)
 {
     return(m_items.Contains(item));
 }
コード例 #2
0
 /// <summary>
 /// Gets true if the collection contains the given item
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public bool Contains(T item) => Items.Contains(item);