[]
Allows to enumerate all pages in the range. Note: It is the client reesponsibility 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
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. |