Esempio n. 1
0
 /// <summary>Searches for an equivalent item, adding it if not present, and returning either the item found
 /// or the item passed if there was none that matched.</summary>
 /// <param name="item">The item to store.</param>
 /// <returns>The item passed, or an equivalent item if one already exists.</returns>
 public T Atomize(T item)
 {
     return(_store.FindOrStore(item));
 }