Show / Hide Table of Contents

Class StopwatchFactoryExtensions

Provides a set of extension methods for stopwatch factories.

Inheritance
System.Object
StopwatchFactoryExtensions
Namespace: System.Time
Assembly: Nuqleon.Time.dll
Syntax
public static class StopwatchFactoryExtensions : Object

Methods

StartNew(IStopwatchFactory)

Creates a new stopwatch that gets started immediately before being returned to the called.

Declaration
public static IStopwatch StartNew(this IStopwatchFactory factory)
Parameters
Type Name Description
IStopwatchFactory factory

The factory used to create the stopwatch.

Returns
Type Description
IStopwatch

New stopwach instance.

In This Article
Back to top Generated by DocFX