Class RandomPool
A pool to choose a random distinct sequence.
Inheritance
System.Object
RandomPool
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class RandomPool : IEnumerator<int>
Remarks
Constructors
RandomPool(Int32)
Creates a new pool.
Declaration
public RandomPool(int size)
Parameters
|
System.Int32
size
|
Properties
Current
Returns the current element.
Declaration
public int Current { get; }
Property Value
|
System.Int32
|
Size
Gets the size of this pool.
Declaration
public int Size { get; }
Property Value
|
System.Int32
|
Methods
Dispose()
Disposes of all native resources associated with this enumerator.
Declaration
public void Dispose()
GetNext()
Moves to the next element.
Declaration
public int GetNext()
Returns
|
System.Int32
|
MoveNext()
Moves to the next element.
Declaration
public bool MoveNext()
Returns
|
System.Boolean
|
MoveNext(out Int32)
Moves to the next element.
Declaration
public bool MoveNext(out int current)
Parameters
|
System.Int32
current
|
Returns
|
System.Boolean
|
Reset()
Resets the pool.
Declaration
public void Reset()