SimplifyNet / Simplify

Simplify is an open-source set of lightweight .NET libraries that provide infrastructure for your applications. DI and mocking friendly.

Home Page:https://simplifynet.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stopwatch class with ability to add existing value to elapsed time

i4004 opened this issue · comments

Specification:

public OffsetStopwatch(TimeSpan startOffset = default)
{
	StartOffset = startOffset;
}

public TimeSpan StartOffset { get; }

public TimeSpan Elapsed => throw new NotImplementedException();
public long ElapsedMilliseconds => throw new NotImplementedException();
public long ElapsedTicks => throw new NotImplementedException();

public new static OffsetStopwatch StartNew()
{
	throw new NotImplementedException();
}