C# Class Granados.RngManager

Random number generation utility
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Méthode Description
GetSecureRng ( ) : Rng

Get a new instance which implements Rng using System.Random

An instance returned should be used in the same thread.

GetSystemRandomRng ( ) : Rng

Get a new instance which implements Rng using System.Random

An instance returned should be used in the same thread.

Method Details

GetSecureRng() public static méthode

Get a new instance which implements Rng using System.Random
An instance returned should be used in the same thread.
public static GetSecureRng ( ) : Rng
Résultat Rng

GetSystemRandomRng() public static méthode

Get a new instance which implements Rng using System.Random
An instance returned should be used in the same thread.
public static GetSystemRandomRng ( ) : Rng
Résultat Rng