C# Class CodeSharp.EventSourcing.TimeRecorder

ファイルを表示 Open project: tangxuehua/eventsourcing Class Usage Examples

Public Methods

Method Description
BeginRecorderItem ( string description ) : RecorderItem
GenerateReport ( ) : string
Reset ( ) : void
TimeRecorder ( string name ) : System

Private Methods

Method Description
AddCompletedRecorderItem ( RecorderItem recorderItem ) : void
BuildChildRecorderItemTree ( RecorderItem parentRecorderItem ) : void
GenerateRecorderItemTimeStrings ( RecorderItem recorderItem, string leftSpace, string unitIndentString, List recorderItemTimeStrings ) : void
GenerateTreeReport ( ) : string
GetChildRecorderItems ( RecorderItem parentRecorderItem ) : List
GetCurrentTicks ( ) : double
GetDirectParent ( RecorderItem recorderItem ) : RecorderItem
GetTimePercent ( RecorderItem recorderItem ) : string
GetTopLevelRecorderItems ( ) : List
GetTotalTicks ( ) : double
IsTopLevelRecorderItem ( RecorderItem recorderItem ) : bool

Method Details

BeginRecorderItem() public method

public BeginRecorderItem ( string description ) : RecorderItem
description string
return RecorderItem

GenerateReport() public method

public GenerateReport ( ) : string
return string

Reset() public method

public Reset ( ) : void
return void

TimeRecorder() public method

public TimeRecorder ( string name ) : System
name string
return System