RandomImpl display and additional interfaces
This commit is contained in:
parent
d2c670f5c3
commit
306a96bc81
2 changed files with 10 additions and 0 deletions
|
|
@ -38,6 +38,14 @@ namespace Server {
|
|||
}
|
||||
}
|
||||
|
||||
public static bool IsHardwareRNG {
|
||||
get { return _Random is IHardwareRNG; }
|
||||
}
|
||||
|
||||
public static Type Type {
|
||||
get { return _Random.GetType(); }
|
||||
}
|
||||
|
||||
public static double NextDouble() {
|
||||
return _Random.NextDouble();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue