public bool Remove(T item) { HeaderUtilities.ThrowIfReadOnly(IsReadOnly); return(_collection.Remove(item)); }
public void Clear() { HeaderUtilities.ThrowIfReadOnly(IsReadOnly); _collection.Clear(); }
public void Add(T item) { HeaderUtilities.ThrowIfReadOnly(IsReadOnly); _validator(item); _collection.Add(item); }