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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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