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
TimeSpanThe desired higher clock resolution.
Properties
MaximumPeriod
The maximum supported resolution.
public static TimeSpan MaximumPeriod { get; }
Property Value
MinimumPeriod
The minimum supported resolution.
public static TimeSpan MinimumPeriod { get; }
Property Value
Period
The desired resolution for this scope.
public TimeSpan Period { get; }
Property Value
Methods
Dispose()
public void Dispose()