Iterates over the items of a collection in a random manner. Every member of the collection is used exactly once.

Namespace: Extreme.Statistics.Random
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class RandomEnumerator _
	Implements IEnumerator
C#
public class RandomEnumerator : IEnumerator
C++
public ref class RandomEnumerator : IEnumerator

Methods

IconTypeDescription
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetHashCode()
Serves as a hash function for a particular type.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
MoveNext()
Advances the enumerator.
Reset()
Resets the enumerator.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
RandomEnumeratorNew(IList, Random)
Constructs a new RandomEnumerator object.
RandomEnumeratorNew(IList)
Constructs a new RandomEnumerator object.
RandomEnumeratorNew(IList, Int32)
Constructs a new RandomEnumerator object.
RandomEnumeratorNew(IEnumerable, Random)
Constructs a new RandomEnumerator object.
RandomEnumeratorNew(IEnumerable)
Constructs a new RandomEnumerator object.
RandomEnumeratorNew(IEnumerable, Int32)
Constructs a new RandomEnumerator object.

Properties

IconTypeDescription
Current
Gets the current value of the enumerator.

Inheritance Hierarchy

System.Object
  Extreme.Statistics.Random.RandomEnumerator