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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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