"

IReproducibleRngFactory<TRng, TSeed> Interface

Summary

A factory that produces reproducible Random Number Generators.

Syntax

public interface IReproducibleRngFactory<out TRng, TSeed> where TRng : notnull, IRng

Type Parameters

NameDescription
TRng
TSeed

Methods

NameValueSummary
Create(TSeed)TRng
Creates a new TRng using the specified seed.
CreateSeed<TSeedingRng>(TSeedingRng)TSeed
Creates a seed of type TSeed, that can then be used in the Create(TSeed) method to create a TRng.