Table of Contents

Class ClockResolution

Namespace
MarymoorStudios.Core
Assembly
MarymoorStudios.Core.dll

Controls the resolution of the system clock.

public sealed class ClockResolution : IDisposable
Inheritance
ClockResolution
Implements
Inherited Members

Constructors

ClockResolution(TimeSpan)

Create a scope during which the clock resolution is temporarily raised.

public ClockResolution(TimeSpan period)

Parameters

period TimeSpan

The desired higher clock resolution.

Properties

MaximumPeriod

The maximum supported resolution.

public static TimeSpan MaximumPeriod { get; }

Property Value

TimeSpan

MinimumPeriod

The minimum supported resolution.

public static TimeSpan MinimumPeriod { get; }

Property Value

TimeSpan

Period

The desired resolution for this scope.

public TimeSpan Period { get; }

Property Value

TimeSpan

Methods

Dispose()

public void Dispose()