Click or drag to resize

FastUtcTimeSource Class

Fast UTC time source that is updated once per tick (15.6 milliseconds).
Inheritance Hierarchy
SystemObject
  NLog.TimeTimeSource
    NLog.TimeCachedTimeSource
      NLog.TimeFastUtcTimeSource

Namespace:  NLog.Time
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public class FastUtcTimeSource : CachedTimeSource

The FastUtcTimeSource type exposes the following members.

Constructors
  NameDescription
Public methodFastUtcTimeSource
Initializes a new instance of the FastUtcTimeSource class
Top
Properties
  NameDescription
Protected propertyFreshTime
Gets uncached UTC time directly from DateTime.UtcNow.
(Overrides CachedTimeSourceFreshTime.)
Public propertyTime
Gets current time cached for one system tick (15.6 milliseconds).
(Inherited from CachedTimeSource.)
Top
Methods
  NameDescription
Public methodFromSystemTime
Converts the specified system time to the same form as the time value originated from this time source.
(Overrides TimeSourceFromSystemTime(DateTime).)
Public methodToString
Returns a String that represents this instance.
(Inherited from TimeSource.)
Top
See Also