Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | Public Member Functions | List of all members
Loyc.Collections.ReadOnlyAsCollection< T > Class Template Reference

A read-only wrapper that implements ICollection(T) and ISource(T), returned from LCExt.AsCollection{T} More...


Source file:
Inheritance diagram for Loyc.Collections.ReadOnlyAsCollection< T >:
Loyc.WrapperBase< T > Loyc.Collections.ICollectionAndReadOnly< T >

Remarks

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 >
_obj
 
- Protected static fields inherited from Loyc.WrapperBase< T >
static readonly
EqualityComparer< T > 
TComp = EqualityComparer<T>.Default