Show / Hide Table of Contents

Class RandomExtensions

This extension class provides some convenient methods to deal with IRandom.

Inheritance
Object
RandomExtensions
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public static class RandomExtensions : object

Methods

| Improve this Doc View Source

GenerateRandomGuid(IRandom)

Generates a UUID version 4, i.e., a random . Please refer to RFC 4122.

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 .

See Also
IRandom
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium