Class RandomExtension
This extension class provides some convenient methods to deal with IRandom.
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public static class RandomExtension : 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 |