RandomShim<TRng> Class
A shim able to wrap any IRng as a Random.
Namespace
RandN.Compat
Base Types
  • object
  • Random
RandomShim<TRng>
Random
object

Syntax

public sealed class RandomShim<TRng> : Random where TRng : IRng

Type Parameters

NameDescription
TRng

Constructors

NameSummary
RandomShim(TRng)Constructs a new Random wrapper over rng .

Methods