Table of Contents

Method New

Namespace
Millrace
Assembly
Millrace.dll

New()

Mints an id from the system clock.

public static WorkflowInstanceId New()

Returns

WorkflowInstanceId

New(TimeProvider)

Mints an id timestamped from time.

public static WorkflowInstanceId New(TimeProvider time)

Parameters

time TimeProvider

Returns

WorkflowInstanceId

Remarks

The overload the engine uses, so a test driving a fake clock produces ids consistent with the rest of the instance it is building. Version 7 keeps index writes local; providers still treat the value as opaque.