Space Engineers
|
List wrapper that allows for addition and removal even during enumeration. Done by caching changes and allowing explicit application using Apply* methods. More...
Public Member Functions | |
CachingList () | |
CachingList (int capacity) | |
void | Add (T entity) |
void | Remove (T entity, bool immediate=false) |
void | RemoveAtImmediately (int index) |
Immediately removes an element at the specified index. More... | |
void | Clear () |
void | ClearImmediate () |
void | ApplyChanges () |
void | ApplyAdditions () |
void | ApplyRemovals () |
void | Sort (IComparer< T > comparer) |
List< T >.Enumerator | GetEnumerator () |
void | DebugCheckEmpty () |
override string | ToString () |
Properties | |
int | Count [get] |
T | this[int index] [get] |
List wrapper that allows for addition and removal even during enumeration. Done by caching changes and allowing explicit application using Apply* methods.
Definition at line 14 of file CachingList.cs.
|
inline |
Definition at line 20 of file CachingList.cs.
|
inline |
Definition at line 22 of file CachingList.cs.
|
inline |
Definition at line 37 of file CachingList.cs.
|
inline |
Definition at line 88 of file CachingList.cs.
|
inline |
Definition at line 82 of file CachingList.cs.
|
inline |
Definition at line 94 of file CachingList.cs.
|
inline |
Definition at line 69 of file CachingList.cs.
|
inline |
Definition at line 75 of file CachingList.cs.
|
inline |
Definition at line 122 of file CachingList.cs.
|
inline |
Definition at line 106 of file CachingList.cs.
|
inline |
Definition at line 45 of file CachingList.cs.
|
inline |
Immediately removes an element at the specified index.
index | Index of the element to remove immediately. |
Definition at line 63 of file CachingList.cs.
|
inline |
Definition at line 101 of file CachingList.cs.
|
inline |
Definition at line 129 of file CachingList.cs.
|
get |
Definition at line 28 of file CachingList.cs.
|
get |
Definition at line 33 of file CachingList.cs.