C# Class ConsoleApplication1.ExecutionTimer

Inheritance: IDisposable
显示文件 Open project: drmohundro/presentations Class Usage Examples

Private Properties

Property Type Description
ExecutionTimer System
RandomizeConsoleColor void

Public Methods

Method Description
Dispose ( ) : void
Options ( bool showInfo = false ) : void
Options ( bool colorizeOutput = false, bool showInfo = false ) : void
Start ( string name, bool blockResults = false, bool infoOnly = false ) : ExecutionTimer

Private Methods

Method Description
ExecutionTimer ( string name, bool blockResults, bool infoOnly ) : System
RandomizeConsoleColor ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Options() public static method

public static Options ( bool showInfo = false ) : void
showInfo bool
return void

Options() public static method

public static Options ( bool colorizeOutput = false, bool showInfo = false ) : void
colorizeOutput bool
showInfo bool
return void

Start() public static method

public static Start ( string name, bool blockResults = false, bool infoOnly = false ) : ExecutionTimer
name string
blockResults bool
infoOnly bool
return ExecutionTimer