[]
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
Public Class OutputRange.Enumerator
Implements IEnumerator(Of Integer), IEnumerator, IDisposable
Name | Description |
---|---|
Enumerator(OutputRange, int, int) | Creates a new instance of the OutputRange enumerator. |
Name | Description |
---|---|
Current | Gets the current page number. |
Name | Description |
---|---|
MoveNext() | Moves to the next page number in the range. |
Reset() | Resets the enumerator. |