Enhanced C#
Language of your choice: library documentation
Properties | Public Member Functions | List of all members
Loyc.Collections.CollectionAsReadOnly< T > Class Template Reference

Adapter: a read-only wrapper that implements ICollection(T) and IReadOnlyCollection(T), returned from LCExt.AsReadOnly<T>. More...


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

Remarks

Adapter: a read-only wrapper that implements ICollection(T) and IReadOnlyCollection(T), returned from LCExt.AsReadOnly<T>.

Properties

int Count [get]
 
bool IsReadOnly [get]
 

Public Member Functions

 CollectionAsReadOnly (ICollection< T > obj)
 
bool Contains (T item)
 
void Add (T item)
 
void Clear ()
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
IEnumerator< T > GetEnumerator ()