Class TwoDimArray<T>
A two dimensional array resource, with a decoded row type.
public sealed class TwoDimArray<T> : TwoDimArray, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : class, ITwoDimArrayEntry, new()
Type Parameters
TThe row/entry type to decode the array.
- Inheritance
-
TwoDimArray<T>
- Implements
-
IEnumerable<T>
- Inherited Members
- Extension Methods
Properties
- Count
Gets the number of rows in this 2da.
- this[int]
Gets the row at the specified index.
- Rows
Gets a read-only list of all rows in this 2da.
Methods
- GetEnumerator()
Returns an enumerator that iterates through the collection.
- GetRow(int)
Gets the row at the specified index.