IntervalPair<T>.Enumerator Struct
Definition
Enumerates the non-empty pieces of an IntervalPair<T> without allocating.
public struct IntervalPair<T>.Enumerator
- Inherited Members
- Extension Methods
Properties
Current
Gets the piece at the current position.
public readonly Interval<T> Current { get; }
Property Value
- Interval<T>
The current interval.
Methods
MoveNext()
Advances to the next piece.
public bool MoveNext()
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |