Class ConstantItr<T>
Iterator that just returns a constant value N times
Inheritance
ConstantItr<T>
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class ConstantItr<T> : IEnumerable<T>, IEnumerable
Type Parameters
Constructors
ConstantItr(Int32, T)
Declaration
public ConstantItr(int count, T constant)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
T |
constant |
|
Fields
ConstantValue
Declaration
Field Value
N
Declaration
Field Value
Methods
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Implements