View Source
Class WebProfiler
Inheritance
System.Object
Assembly: Umbraco.Web.Common.dll
Syntax
public class WebProfiler : IProfiler
Fields
View Source
MiniProfilerContext
Declaration
public static readonly AsyncLocal<MiniProfiler> MiniProfilerContext
Field Value
| Type |
Description |
| AsyncLocal<MiniProfiler> |
|
Properties
View Source
IsEnabled
Declaration
public bool IsEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
View Source
Start()
Declaration
View Source
StartBoot()
Declaration
View Source
Step(String)
Declaration
public IDisposable? Step(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Nullable<IDisposable> |
|
View Source
Stop(Boolean)
Declaration
public void Stop(bool discardResults = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
discardResults |
|
View Source
StopBoot()
Declaration
View Source
UmbracoApplicationBeginRequest(HttpContext, RuntimeLevel)
Declaration
public void UmbracoApplicationBeginRequest(HttpContext context, RuntimeLevel runtimeLevel)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Http.HttpContext |
context |
|
| RuntimeLevel |
runtimeLevel |
|
View Source
UmbracoApplicationEndRequest(HttpContext, RuntimeLevel)
Declaration
public void UmbracoApplicationEndRequest(HttpContext context, RuntimeLevel runtimeLevel)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Http.HttpContext |
context |
|
| RuntimeLevel |
runtimeLevel |
|