Show / Hide Table of Contents

Class EnumeratorExtensions

Extensiones para todos los tipos que implementen IEnumerator.

Inheritance
object
EnumeratorExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.dll
Syntax
public static class EnumeratorExtensions

Methods

| Edit this page View Source

Skip(IEnumerator, int)

Advances the enumerator a specified number of elements.

Declaration
public static int Skip(this IEnumerator enumerator, int steps)
Parameters
Type Name Description
IEnumerator enumerator

Enumerator to iterate.

int steps

Number of elements to skip.

Returns
Type Description
int

The number of elements successfully skipped.

Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown if steps is less than zero.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX