Class InitializeWebProfiling
Initialized the web profiling. Ensures the boot process profiling is stopped.
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Profiler
Assembly: Umbraco.Web.Common.dll
Syntax
public class InitializeWebProfiling : INotificationHandler<UmbracoApplicationStartingNotification>
Constructors
View SourceInitializeWebProfiling(IProfiler, ILogger<InitializeWebProfiling>)
Initializes a new instance of the InitializeWebProfiling class.
Declaration
public InitializeWebProfiling(IProfiler profiler, ILogger<InitializeWebProfiling> logger)
Parameters
Type | Name | Description |
---|---|---|
IProfiler | profiler | |
Microsoft.Extensions.Logging.ILogger<InitializeWebProfiling> | logger |
Methods
View SourceHandle(UmbracoApplicationStartingNotification)
Declaration
public void Handle(UmbracoApplicationStartingNotification notification)
Parameters
Type | Name | Description |
---|---|---|
UmbracoApplicationStartingNotification | notification |