GuardedCollection<T>
Suitable for wrapping hash tables, HashSet<T> and HashBag<T>
IEnumerable<T>
, System.Collections.IEnumerable
, System.IFormattable
, System.ICloneable
, System.Collections.Generic.ICollection<T>
, ICollection<T>
, ICollectionValue<T>
, IExtensible<T>
, IShowable
object
, GuardedEnumerable<T>
, GuardedCollectionValue<T>
GuardedIndexedSorted<T>
, GuardedList<T>
, GuardedSequenced<T>
, GuardedSorted<T>
CollectionChanged
, Inherited from GuardedCollectionValue<T>
,CollectionCleared
, Inherited from GuardedCollectionValue<T>
,ItemInserted
, Inherited from GuardedCollectionValue<T>
,ItemRemovedAt
, Inherited from GuardedCollectionValue<T>
,ItemsAdded
, Inherited from GuardedCollectionValue<T>
,ItemsRemoved
, Inherited from GuardedCollectionValue<T>ActiveEvents
, Inherited from GuardedCollectionValue<T>
,AllowsDuplicates
,ContainsSpeed
,Count
, Inherited from GuardedCollectionValue<T>
,CountSpeed
, Inherited from GuardedCollectionValue<T>
,DuplicatesByCounting
,EqualityComparer
,IsEmpty
,IsReadOnly
,ListenableEvents
, Inherited from GuardedCollectionValue<T>GuardedCollection<T>(ICollection<T> collection)
Add(T item)
,AddAll<U>(IEnumerable<U> items)
,All(Fun<T,bool> filter)
, Inherited from GuardedCollectionValue<T>
,Apply(Act<T> a)
, Inherited from GuardedCollectionValue<T>
,Check()
,Choose()
, Inherited from GuardedCollectionValue<T>
,Clear()
,Clone()
,Contains(T item)
,ContainsAll<U>(IEnumerable<U> items)
,ContainsCount(T item)
,CopyTo(T[] a, int i)
, Inherited from GuardedCollectionValue<T>
,Equals(object obj)
, Inherited from object
,Exists(Fun<T,bool> filter)
, Inherited from GuardedCollectionValue<T>
,Filter(Fun<T,bool> filter)
, Inherited from GuardedCollectionValue<T>
,Finalize()
, Inherited from object
,Find(ref T item)
,Find(Fun<T,bool> filter, out T item)
, Inherited from GuardedCollectionValue<T>
,FindOrAdd(ref T item)
,GetEnumerator()
, Inherited from GuardedEnumerable<T>
,GetHashCode()
, Inherited from object
,GetType()
, Inherited from object
,GetUnsequencedHashCode()
,ItemMultiplicities()
,MemberwiseClone()
, Inherited from object
,Remove(T item)
,Remove(T item, out T removeditem)
,RemoveAll<U>(IEnumerable<U> items)
,RemoveAllCopies(T item)
,RetainAll<U>(IEnumerable<U> items)
,Show(System.Text.StringBuilder stringbuilder, ref int rest, System.IFormatProvider formatProvider)
, Inherited from GuardedCollectionValue<T>
,ToArray()
, Inherited from GuardedCollectionValue<T>
,ToString(string format, System.IFormatProvider formatProvider)
, Inherited from GuardedCollectionValue<T>
,ToString()
, Inherited from object
,UniqueItems()
,UnsequencedEquals(ICollection<T> that)
,Update(T item)
,Update(T item, out T olditem)
,UpdateOrAdd(T item)
,UpdateOrAdd(T item, out T olditem)
bool AllowsDuplicates | Access: Read-Only Value:False if wrapped collection has set semantics |
Speed ContainsSpeed | Access: Read-Only Value:Speed of wrapped collection |
bool DuplicatesByCounting | Access: Read-Only Value:True if only one representative of a group of equal items is kept in the collection together with the total count. By convention this is true for any collection with set semantics. |
System.Collections.Generic.IEqualityComparer<T> EqualityComparer | Access: Read-Only Value: |
bool IsEmpty | Access: Read-Only Value:True if wrapped collection is empty |
bool IsReadOnly | Access: Read-Only Value:True (This is a read-only wrapper) |
GuardedCollection<T>(ICollection<T> collection) |
Wrap an ICollection<T> in a read-only wrapper
|
bool Add(T item) |
| |||||||||||||||
void AddAll<U>(IEnumerable<U> items) |
| |||||||||||||||
bool Check() |
Check wrapped collection for internal consistency
| |||||||||||||||
void Clear() |
| |||||||||||||||
object Clone() |
| |||||||||||||||
bool Contains(T item) |
Check if an item is in the wrapped collection
| |||||||||||||||
bool ContainsAll<U>(IEnumerable<U> items) |
Check if all items in the argument is in the wrapped collection
| |||||||||||||||
int ContainsCount(T item) |
Count the number of times an item appears in the wrapped collection
| |||||||||||||||
bool Find(ref T item) |
Search for an item in the wrapped collection
| |||||||||||||||
bool FindOrAdd(ref T item) |
| |||||||||||||||
int GetUnsequencedHashCode() |
| |||||||||||||||
ICollectionValue<KeyValuePair<T,int>> ItemMultiplicities() |
| |||||||||||||||
bool Remove(T item) |
| |||||||||||||||
bool Remove(T item, out T removeditem) |
| |||||||||||||||
void RemoveAll<U>(IEnumerable<U> items) |
| |||||||||||||||
void RemoveAllCopies(T item) |
| |||||||||||||||
void RetainAll<U>(IEnumerable<U> items) |
| |||||||||||||||
ICollectionValue<T> UniqueItems() |
| |||||||||||||||
bool UnsequencedEquals(ICollection<T> that) |
| |||||||||||||||
bool Update(T item) |
| |||||||||||||||
bool Update(T item, out T olditem) |
| |||||||||||||||
bool UpdateOrAdd(T item) |
| |||||||||||||||
bool UpdateOrAdd(T item, out T olditem) |
|