[]
Allows enumerating all pages in the range.
It is the client's responsibility to take steps to avoid infinite loops if the OutputRange was created without specifying a valid MaxPageNumber.
public class OutputRange.Enumerator : IEnumerator<int>, IEnumerator, IDisposable
Creates a new instance of the OutputRange enumerator.
public Enumerator(OutputRange range, int minPageNumber, int maxPageNumber)
range
OutputRangeminPageNumber
intmaxPageNumber
intGets the current page number.
public int Current { get; }
The current page number.
Moves to the next page number in the range.
public bool MoveNext()
True if there are more pages in the range.
Resets the enumerator.
public void Reset()