Summary
Wraps an
ICollection<T> to allow reading values but prevent setting/removing them.
Generic type parameters
T | This type parameter is not documented. |
Constructors
| Creates a new read-only wrapper for the specified ICollection<T>. |
Instance methods
void | | Not supported on a ReadOnlyCollection. |
void | |
bool | | Returns true if the specified item exists in this collection, false otherwise. |
void | CopyTo(T[] array, int arrayIndex) | Copies the values stored in this collection into the specified dictionary. |
IEnumerator<T> | | Gets an enumerator for the values stored in this collection. |
bool | | Returns true if coll is the same collection object as the one this class wraps. |
bool | | Not supported on a ReadOnlyCollection. |
Instance properties
int | | Gets the number of values stored in this collection. |
bool | | Returns true, as this is a read-only collection. |