RandomNumberGeneratorShim<TRng> Class
A shim able to wrap any IRng as a RandomNumberGenerator.
Namespace
RandN.Compat
Interfaces
  • IDisposable
Base Types
  • RandomNumberGenerator
RandomNumberGeneratorShim<TRng>
RandomNumberGenerator
IDisposable

Syntax

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

Type Parameters

NameDescription
TRng

Constructors

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

Methods