Class UuidGenerator
- Namespace
- Hegel
- Assembly
- Hegel.dll
Draws UUIDs, of any version or one in particular.
public sealed class UuidGenerator : ValueGenerator<Guid>
- Inheritance
-
UuidGenerator
- Inherited Members
Properties
Label
The span label the engine files this generator's draws under. Defaults to a label derived from the class's full name.
public override ulong Label { get; }
Property Value
Methods
DoDraw(TestCase)
Draw one value. Called inside a span labelled Label: draw from another generator through DrawSilent<T>(Generator<T>), which opens its span, rather than by calling its hook.
protected override Guid DoDraw(TestCase tc)
Parameters
tcTestCase
Returns
Version(int)
Only UUIDs of version (1 to 5).
public UuidGenerator Version(int version)
Parameters
versionint