"

RandomShim<TRng> Class

Summary

A shim able to wrap any IRng as a System.Random.
Namespace
RandN.Compat
Base Types
  • object
  • Random

Syntax

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

Type Parameters

NameDescription
TRng

Constructors

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

Methods