Table of Contents

Class HighResolutionScheduler

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Provides a set of static properties to access schedulers that use the Stopwatch class for generating timestamps.

public static class HighResolutionScheduler
Inheritance
HighResolutionScheduler
Inherited Members

Properties

Default

Gets a scheduler that schedules work on the platform's default scheduler but provides high resolution timestamps.

public static IScheduler Default { get; }

Property Value

IScheduler

Now

Gets the current time according to the timer used by the Stopwatch class.

public static DateTimeOffset Now { get; }

Property Value

DateTimeOffset