Constructor ActionSegment
ActionSegment(T[])
Construct an ActionSegment<T> with just an actionArray. The Offset will
be set to 0 and the Length will be set to actionArray.Length.
Declaration
public ActionSegment(T[] actionArray)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | actionArray | The action array to use for the this segment. |
ActionSegment(T[], int, int)
Construct an ActionSegment<T> with an underlying array and offset, and a length.
Declaration
public ActionSegment(T[] actionArray, int offset, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | actionArray | The underlying array which this segment has a view into |
| int | offset | The zero-based offset into the underlying array. |
| int | length | The length of the segment. |