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: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public 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
See Also