Esempio n. 1
0
 public bool Remove(T item)
 {
     HeaderUtilities.ThrowIfReadOnly(IsReadOnly);
     return(_collection.Remove(item));
 }
Esempio n. 2
0
 public void Clear()
 {
     HeaderUtilities.ThrowIfReadOnly(IsReadOnly);
     _collection.Clear();
 }
Esempio n. 3
0
 public void Add(T item)
 {
     HeaderUtilities.ThrowIfReadOnly(IsReadOnly);
     _validator(item);
     _collection.Add(item);
 }