Click or drag to resize

GeneratorConstantTSource Method

Makes a generator that generates a the same item each time.

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IGenerator<TSource> Constant<TSource>(
	TSource item
)

Parameters

item
Type: TSource
The item to generate.

Type Parameters

TSource
The type of the item to generate.

Return Value

Type: IGeneratorTSource
See Also