Click or drag to resize

CachedTimeSource Class

Fast time source that updates current time only once per tick (15.6 milliseconds).
Inheritance Hierarchy
SystemObject
  NLog.TimeTimeSource
    NLog.TimeCachedTimeSource
      NLog.TimeFastLocalTimeSource
      NLog.TimeFastUtcTimeSource

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

The CachedTimeSource type exposes the following members.

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