Click or drag to resize

FastLocalTimeSource Class

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

Namespace:  NLog.Time
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public class FastLocalTimeSource : CachedTimeSource

The FastLocalTimeSource type exposes the following members.

Constructors
  NameDescription
Public methodFastLocalTimeSource
Initializes a new instance of the FastLocalTimeSource class
Top
Properties
  NameDescription
Protected propertyFreshTime
Gets uncached local time directly from DateTime.Now.
(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