|
Enhanced C#
Loyc library documentation
|
Public fields | |
| InternalDList< T > | _list |
| int | _startIndex |
| int | Min => _startIndex |
| int | Max => _startIndex + _list.Count - 1 |
| int | Count => _list.Count |
| T | defaultValue |
| InternalDList< T > | InternalList => _list |
Public static fields | |
| static InternalDArray< T > | Empty = new InternalDArray<T> { _list = InternalDList<T>.Empty } |
Properties | |
| T | this[int index] [get, set] |
| T | this[int index, T defaultValue] [get] |
Properties inherited from Loyc.Collections.INegArray< T > | |
| new T | this[int index] [get, set] |
| Gets or sets an element of the array-like collection. More... | |
Properties inherited from Loyc.Collections.INegListSource< out T > | |
| int | Min [get] |
| Returns the minimum valid index in the collection. More... | |
| int | Max [get] |
| Returns the maximum valid index in the collection. More... | |
Properties inherited from Loyc.Collections.IIndexed< in K, out V > | |
| V | this[K key] [get] |
| Gets the value associated with the specified key. More... | |
Properties inherited from Loyc.Collections.IArraySink< in T > | |
| T | this[int index] [set] |
Public Member Functions | |
| IEnumerator< T > IEnumerable< T >. | GetEnumerator () |
|
System.Collections.IEnumerator System.Collections.IEnumerable. | GetEnumerator () |
| InternalDList< T >.Enumerator | GetEnumerator () |
| IListSource< T > | Slice (int start, int count) |
| Returns a sub-range of this list. More... | |
| T | TryGet (int index, T defaultValue) |
| T | TryGet (int index, out bool fail) |
| bool | TrySet (int index, T value) |
| InternalDArray< T > | Clone () |
Public Member Functions inherited from Loyc.Collections.ITryGet< in K, out V > | |
| V | TryGet (K key, out bool fail) |
| Gets the item for the specified key or index, and does not throw an exception on failure. More... | |
| IListSource<T> Loyc.Collections.InternalDArray< T >.Slice | ( | int | start, |
| int | count | ||
| ) |
Returns a sub-range of this list.
Implements Loyc.Collections.INegListSource< out T >.
1.8.7