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

Helper class: EmptyList<T>.Value is a read-only empty list. More...


Source file:
Inheritance diagram for Loyc.Collections.EmptyList< T >:
Loyc.Collections.IRange< T > Loyc.Collections.IIsEmpty

Remarks

Helper class: EmptyList<T>.Value is a read-only empty list.

Public static fields

static readonly EmptyList< T > Value = new EmptyList<T>()
 

Properties

this[int index] [get, set]
 
int Count [get]
 
bool IsReadOnly [get]
 
bool IsEmpty [get]
 
First [get]
 
Last [get]
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 

Public Member Functions

int IndexOf (T item)
 
void Insert (int index, T item)
 
void RemoveAt (int index)
 
TryGet (int index, out bool fail)
 
void Add (T item)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
IEnumerator< T > GetEnumerator ()
 
IRange< T > Slice (int start, int count)
 
PopLast (out bool fail)
 
PopFirst (out bool fail)