Class Clock
- Namespace
- Alis.Core.Aspect.Time
- Assembly
- Alis.dll
The clock class
public class Clock
Inheritance
Inherited Members
Fields
stopwatch
The stopwatch
private readonly Stopwatch stopwatch
Field Value
Properties
Elapsed
Gets the value of the elapsed
public TimeSpan Elapsed { get; }
Property Value
ElapsedMilliseconds
Gets the value of the elapsed milliseconds
public long ElapsedMilliseconds { get; }
Property Value
ElapsedSeconds
Gets the value of the elapsed seconds
public double ElapsedSeconds { get; }
Property Value
ElapsedTicks
Gets the value of the elapsed ticks
public long ElapsedTicks { get; }
Property Value
Methods
Reset()
Resets this instance
public void Reset()
Start()
Starts this instance
public void Start()
Stop()
Stops this instance
public void Stop()