Files
Umbraco-CMS/src/Umbraco.PublishedCache.NuCache/Compose/NotificationsComposer.cs

18 lines
578 B
C#
Raw Normal View History

2021-03-25 14:51:00 +01:00
using Umbraco.Cms.Core.Compose;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Infrastructure.Services.Notifications;
namespace Umbraco.Cms.Infrastructure.PublishedCache.Compose
{
public sealed class NotificationsComposer : ComponentComposer<NotificationsComponent>, ICoreComposer
{
public override void Compose(IUmbracoBuilder builder)
{
base.Compose(builder);
builder.AddNotificationHandler<LanguageSavedNotification, PublishedSnapshotServiceEventHandler>();
}
}
}