C# Class GSoft.Dynamite.Monitoring.AggregateTimeTracker

TODO: Update summary.
Inheritance: IAggregateTimeTracker
Show file Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method Description
AddTimeSpanToAggregateTimeSpentForKey ( string key, System.TimeSpan timeSpan ) : void
AggregateTimeTracker ( ILogger log ) : System
BeginTimeTrackerScope ( string key ) : TimeTrackerScope
GetAggregateTimeSpentForKey ( string key ) : System.TimeSpan

Private Methods

Method Description
EnsureTimeSpanForKey ( string key ) : System.TimeSpan

Method Details

AddTimeSpanToAggregateTimeSpentForKey() public method

public AddTimeSpanToAggregateTimeSpentForKey ( string key, System.TimeSpan timeSpan ) : void
key string
timeSpan System.TimeSpan
return void

AggregateTimeTracker() public method

public AggregateTimeTracker ( ILogger log ) : System
log ILogger
return System

BeginTimeTrackerScope() public method

public BeginTimeTrackerScope ( string key ) : TimeTrackerScope
key string
return TimeTrackerScope

GetAggregateTimeSpentForKey() public method

public GetAggregateTimeSpentForKey ( string key ) : System.TimeSpan
key string
return System.TimeSpan