Class WebProfilerHtml
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Profiler
Assembly: Umbraco.Web.Common.dll
Syntax
public class WebProfilerHtml : IProfilerHtml
Constructors
View SourceWebProfilerHtml(IHttpContextAccessor)
Declaration
public WebProfilerHtml(IHttpContextAccessor httpContextAccessor)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.IHttpContextAccessor | httpContextAccessor |
Methods
View SourceRender()
Declaration
public string Render()
Returns
| Type | Description |
|---|---|
| System.String |
Remarks
Normally we would call MiniProfiler.Current.RenderIncludes(...), but because the requeststate is not set, this method does not work. We fake the requestIds from the RequestState here.