"

RandomNumberGeneratorShim<TRng> Class

Summary

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

Syntax

public sealed class RandomNumberGeneratorShim<TRng> : RandomNumberGenerator 
    where TRng : notnull, ICryptoRng

Type Parameters

NameDescription
TRng

Constructors

NameSummary
RandomNumberGeneratorShim(TRng)Constructs a new RandomNumberGenerator wrapper over rng.

Methods