Table of Contents

Interface IGenerator

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

A generator can produce an infinite sequence of objects.

[Version(2, 0, 0)]
public interface IGenerator
Extension Methods

Properties

Current

Gets the element last generated by this generator.

Methods

CloneAndRestart()

Clones the generator and returns the clone in a restarted state.

MoveNext()

Generates the next element.

See Also

IGenerator<TResult>