View Source
Class NoopProfiler
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class NoopProfiler : IProfiler
Properties
View Source
IsEnabled
Whether the profiler is enabled.
Declaration
public bool IsEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
View Source
Start()
Declaration
View Source
Step(String)
Declaration
public IDisposable Step(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| IDisposable |
|
View Source
Stop(Boolean)
Declaration
public void Stop(bool discardResults = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
discardResults |
|