Click or drag to resize

AccurateLocalTimeSource Class

Current local time retrieved directly from DateTime.Now.
Inheritance Hierarchy
SystemObject
  NLog.TimeTimeSource
    NLog.TimeAccurateLocalTimeSource

Namespace:  NLog.Time
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public sealed class AccurateLocalTimeSource : TimeSource

The AccurateLocalTimeSource type exposes the following members.

Constructors
  NameDescription
Public methodAccurateLocalTimeSource
Initializes a new instance of the AccurateLocalTimeSource class
Top
Properties
  NameDescription
Public propertyTime
Gets current local time directly from DateTime.Now.
(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.
(Overrides TimeSourceFromSystemTime(DateTime).)
Public methodToString
Returns a String that represents this instance.
(Inherited from TimeSource.)
Top
Remarks
See Also