App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class TestClock

Inheritance
System.Object
TestClock
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Infrastructure
Assembly:cs.temp.dll.dll
Syntax
public sealed class TestClock : IClock

Properties

Nanoseconds

Declaration
public long Nanoseconds { get; }
Property Value
Type Description
System.Int64
Implements
IClock.Nanoseconds

Seconds

Declaration
public long Seconds { get; }
Property Value
Type Description
System.Int64
Implements
IClock.Seconds

UtcDateTime

Declaration
public DateTime UtcDateTime { get; }
Property Value
Type Description
System.DateTime
Implements
IClock.UtcDateTime

Methods

Advance(TimeUnit, Int64)

Declaration
public void Advance(TimeUnit unit, long value)
Parameters
Type Name Description
TimeUnit unit
System.Int64 value
Implements
IClock.Advance(TimeUnit, Int64)

FormatTimestamp(DateTime)

Declaration
public string FormatTimestamp(DateTime timestamp)
Parameters
Type Name Description
System.DateTime timestamp
Returns
Type Description
System.String
Implements
IClock.FormatTimestamp(DateTime)

Events

Advanced

Declaration
public event EventHandler Advanced
Event Type
Type Description
System.EventHandler
Implements
IClock.Advanced
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX