Click or drag to resize
AccurateUtcTimeSource Class
Current UTC time retrieved directly from DateTime.UtcNow.
Inheritance Hierarchy

Namespace: NLog.Time
Assembly: NLog (in NLog.dll) Version: 4.3.0
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