Click or drag to resize

AccurateUtcTimeSource Class

Current UTC time retrieved directly from DateTime.UtcNow.
Inheritance Hierarchy
SystemObject
  NLog.TimeTimeSource
    NLog.TimeAccurateUtcTimeSource

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

The AccurateUtcTimeSource type exposes the following members.

Constructors
  NameDescription
Public methodAccurateUtcTimeSource
Initializes a new instance of the AccurateUtcTimeSource class
Top
Properties
  NameDescription
Public propertyTime
Gets current UTC time directly from DateTime.UtcNow.
(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