RandomInteropExtensions Methods

Methods

AsRandom(IRandomSource) Converts a random source to a Random.
AsRandom<T>(T) Converts a typed random source to a Random.
AsRandomSource Converts a Random to a random source.
TryUnwrap(Random, IRandomSource) Attempts to unwrap a Random to recover the underlying random source.
TryUnwrap<T>(Random, T) Attempts to unwrap a Random to recover the underlying random source with the exact specified type.

See Also