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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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