V9: Place notifications in the same namespace (#10231)
* Gather all notifications in Umbraco.Cms.Core.Notifications * Rename notifications to match convention * Move and rename missed notifications * Move the three remaining public notification into Umbraco.Cms.Core.Notifications
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Umbraco.Cms.Core.Events;
|
||||
using Umbraco.Cms.Core.Logging;
|
||||
using Umbraco.Cms.Core.Notifications;
|
||||
|
||||
namespace Umbraco.Cms.Web.Common.Profiler
|
||||
{
|
||||
/// <summary>
|
||||
/// Initialized the web profiling. Ensures the boot process profiling is stopped.
|
||||
/// </summary>
|
||||
public class InitializeWebProfiling : INotificationHandler<UmbracoApplicationStarting>
|
||||
public class InitializeWebProfiling : INotificationHandler<UmbracoApplicationStartingNotification>
|
||||
{
|
||||
private readonly bool _profile;
|
||||
private readonly WebProfiler _profiler;
|
||||
@@ -41,7 +42,7 @@ namespace Umbraco.Cms.Web.Common.Profiler
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void Handle(UmbracoApplicationStarting notification)
|
||||
public void Handle(UmbracoApplicationStartingNotification notification)
|
||||
{
|
||||
if (_profile)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user