A generic ImmutableArray More...
Inherits IEnumerable.
Public Member Functions | |
| ImmutableArray (T[] array) | |
| Create an ImmutableArray from an array More... | |
| IEnumerator | GetEnumerator () |
| Get an Enumerator for the backing array More... | |
Properties | |
| T | this[int i] [get] |
| Get an element from the backing array More... | |
A generic ImmutableArray
Immutability is maintained by declaring the array readonly and not providing a setter.
| T |
| NobleConnect.ImmutableArray< T >.ImmutableArray | ( | T[] | array | ) |
Create an ImmutableArray from an array
| array |
| IEnumerator NobleConnect.ImmutableArray< T >.GetEnumerator | ( | ) |
Get an Enumerator for the backing array
|
get |
Get an element from the backing array
| i |