Class RandomExtensions
This extension class provides some convenient methods to deal with IRandom.
Inheritance
System.Object
RandomExtensions
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public static class RandomExtensions : object
Methods
| Improve this Doc View SourceGenerateRandomGuid(IRandom)
Generates a UUID version 4, i.e., a random
Declaration
public static Guid GenerateRandomGuid(this IRandom random)
Parameters
Type | Name | Description |
---|---|---|
IRandom | random | IRandom to generate
a random |
Returns
Type | Description |
---|---|
Guid | Generated random |