Table of Contents

Method Constant

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

Constant<TSource>(TSource)

Makes a generator that generates the same item each time.

public static IGenerator<TSource> Constant<TSource>(TSource item)

Parameters

item TSource

The item to generate.

Returns

IGenerator<TSource>

Type Parameters

TSource

The type of the item to generate.