C# 클래스 Mash.Chronograph.StopwatchChronograph

An implementation of IChronograph based on the System.Diagnostics.Stopwatch
상속: IChronograph
파일 보기 프로젝트 열기: drwill/mash

공개 메소드들

메소드 설명
MeasureAction ( System.Action theAction ) : System.TimeSpan
MeasureActionAsync ( Func theAction ) : Task
Restart ( ) : Session
Start ( ) : void
Stop ( ) : System.TimeSpan

비공개 메소드들

메소드 설명
StopwatchChronograph ( string name ) : System

메소드 상세

MeasureAction() 공개 메소드

public MeasureAction ( System.Action theAction ) : System.TimeSpan
theAction System.Action
리턴 System.TimeSpan

MeasureActionAsync() 공개 메소드

public MeasureActionAsync ( Func theAction ) : Task
theAction Func
리턴 Task

Restart() 공개 메소드

public Restart ( ) : Session
리턴 Session

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : System.TimeSpan
리턴 System.TimeSpan