public static IStopwatch CreateAndStart(Ticker ticker) { return Create(ticker).Start(); }
public static IStopwatch Create(Ticker ticker) { if (ticker == null) { return Create(); } return new TickerBackedStopwatch(ticker); }
public TickerBackedStopwatch(Ticker ticker) { Ticker = ticker; IsRunning = false; }
public static IStopwatch CreateAndStart(Ticker ticker) { return(Create(ticker).Start()); }
public static IStopwatch Create() { return(new TickerBackedStopwatch(Ticker.SystemStopwatchBackedTicker())); }