Enhanced C#
Language of your choice: library documentation
|
A read-only wrapper that implements ICollection(T) and ISource(T), returned from LCExt.AsCollection{T} More...
A read-only wrapper that implements ICollection(T) and ISource(T), returned from LCExt.AsCollection{T}
Properties | |
int | Count [get] |
bool | IsReadOnly [get] |
Public Member Functions | |
ReadOnlyAsCollection (IReadOnlyCollection< T > obj) | |
void | Add (T item) |
void | Clear () |
bool | Contains (T item) |
void | CopyTo (T[] array, int arrayIndex) |
bool | Remove (T item) |
IEnumerator< T > | GetEnumerator () |
Public Member Functions inherited from Loyc.WrapperBase< T > | |
override bool | Equals (object obj) |
Returns true iff the parameter 'obj' is a wrapper around the same object that this object wraps. More... | |
override int | GetHashCode () |
Returns the hashcode of the wrapped object. More... | |
override string | ToString () |
Returns ToString() of the wrapped object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Loyc.WrapperBase< T > | |
WrapperBase (T wrappedObject) | |
Protected fields inherited from Loyc.WrapperBase< T > | |
T | _obj |
Protected static fields inherited from Loyc.WrapperBase< T > | |
static readonly EqualityComparer< T > | TComp = EqualityComparer<T>.Default |