C# Class Elders.Hystrix.NET.Util.ActualTime

Provides a method to get the current time. It uses Stopwatch.
Inheritance: ITime
Mostrar archivo Open project: Elders/Hystrix.NET

Public Properties

Property Type Description
Instance ActualTime

Public Methods

Method Description
GetCurrentTimeInMillis ( ) : long

Gets the current time in milliseconds.

Private Methods

Method Description
ActualTime ( ) : System

Prevents a default instance of the ActualTime class from being created.

Method Details

GetCurrentTimeInMillis() public method

Gets the current time in milliseconds.
public GetCurrentTimeInMillis ( ) : long
return long

Property Details

Instance public_oe static_oe property

The singleton instance of the ActualTime class.
public static ActualTime,Elders.Hystrix.NET.Util Instance
return ActualTime