Creates instances of an
IRng
using automatically generated seeds.- Namespace
- RandN
- Interfaces
- IRngFactory
<TRng> - IDisposable
- IRngFactory
- Base Types
- object
Syntax
public sealed class RngSeeder<TRng, TSeedingRng, TSeed> : IRngFactory<TRng>, IDisposable
where TRng : notnull, IRng where TSeedingRng : notnull, IRng
Type Parameters
Name | Description |
---|---|
TRng | |
TSeedingRng | |
TSeed |
Methods
Name | Return Value | Summary |
---|---|---|
Create | TRng | Creates an instance of TRng. |
Dispose | void | Disposes the seeding RNG if it implements IDisposable . |