Constructor LinearRangeSpan
LinearRangeSpan(LinearRangeSpanKind, T?, T?, int, int)
Initializes a new instance of LinearRangeSpan<T>.
public LinearRangeSpan(LinearRangeSpanKind kind, T? start, T? end, int startIndex, int endIndex)
Parameters
kindLinearRangeSpanKindThe kind of span.
startTThe start data value (meaningful when
kindis RightBounded or Closed).endTThe end data value (meaningful when
kindis LeftBounded or Closed).startIndexintThe index of
startin the options list, or-1.endIndexintThe index of
endin the options list, or-1.