Table of Contents

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

Stopwatch

Properties

Elapsed

Gets the value of the elapsed

public TimeSpan Elapsed { get; }

Property Value

TimeSpan

ElapsedMilliseconds

Gets the value of the elapsed milliseconds

public long ElapsedMilliseconds { get; }

Property Value

long

ElapsedSeconds

Gets the value of the elapsed seconds

public double ElapsedSeconds { get; }

Property Value

double

ElapsedTicks

Gets the value of the elapsed ticks

public long ElapsedTicks { get; }

Property Value

long

Methods

Reset()

Resets this instance

public void Reset()

Start()

Starts this instance

public void Start()

Stop()

Stops this instance

public void Stop()