C# Class BoC.Profiling.Profiler

Show file Open project: csteeg/BoC

Public Properties

Property Type Description
Enabled bool

Public Methods

Method Description
Profiler ( IPerformanceProfiler performanceProfilers ) : System

Initializes a new instance of the Profiler class.

StartContext ( string key ) : IDisposable

Begins the profiling.

Method Details

Profiler() public method

Initializes a new instance of the Profiler class.
public Profiler ( IPerformanceProfiler performanceProfilers ) : System
performanceProfilers IPerformanceProfiler The performanceProfilers.
return System

StartContext() public static method

Begins the profiling.
public static StartContext ( string key ) : IDisposable
key string The key.
return IDisposable

Property Details

Enabled public static property

Set to true to enable profiler
public static bool Enabled
return bool