Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class NodaTime.​Extensions.​StopwatchExtensions
Assembly: NodaTime
Inheritance: object → StopwatchExtensions
Extension methods for <see cref="T:System.Diagnostics.Stopwatch" /> .
Methods
public static
Duration
ElapsedDuration​(System.​Diagnostics.​Stopwatch stopwatch)
Returns the elapsed time of <paramref name="stopwatch" /> as a <see cref="T:NodaTime.Duration" /> .
Returns The elapsed time of <paramref name="stopwatch" /> as a <c>Duration</c> .
stopwatch
The <c>Stopwatch</c> to obtain the elapsed time from.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object