Table of Contents

Class Generator.AbstractGenerator<TResult>

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

This class provides a convenient base class to base an implementation of IGenerator on.

public abstract class Generator.AbstractGenerator<TResult> : IGenerator<TResult>, IGenerator

Type Parameters

TResult

The type of elements this generator generates.

Inheritance
Generator.AbstractGenerator<TResult>
Implements
IGenerator<TResult>
Inherited Members
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>