2021-03-25 14:51:00 +01:00
|
|
|
using Umbraco.Cms.Core.Composing;
|
|
|
|
|
using Umbraco.Cms.Core.DependencyInjection;
|
2021-04-09 13:43:39 +02:00
|
|
|
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>();
|
|
|
|
|
}
|
|
|
|
|
}
|