Class RandomInputGenerator<TInput>
- Namespace
- Backdash.Synchronizing.Input
- Assembly
- Backdash.dll
Random input value provider
public sealed class RandomInputGenerator<TInput> : IInputGenerator<TInput> where TInput : unmanaged
Type Parameters
TInput
- Inheritance
-
RandomInputGenerator<TInput>
- Implements
-
IInputGenerator<TInput>
- Inherited Members
Constructors
RandomInputGenerator(Random?)
Initializes new RandomInputGenerator<TInput>
public RandomInputGenerator(Random? random = null)
Parameters
random
Random
Methods
Generate()
Returns the next input
public TInput Generate()
Returns
- TInput