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

13 lines
431 B
C#
Raw Normal View History

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