Files
Umbraco-CMS/src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs

16 lines
426 B
C#
Raw Normal View History

using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
2019-01-03 21:00:28 +01:00
2019-02-14 09:15:47 +01:00
namespace Umbraco.Web.Compose
2019-01-03 21:00:28 +01:00
{
public sealed class NotificationsComposer : ComponentComposer<NotificationsComponent>, ICoreComposer
2019-01-03 21:00:28 +01:00
{
public override void Compose(IUmbracoBuilder builder)
2019-01-03 21:00:28 +01:00
{
base.Compose(builder);
builder.Services.AddUnique<NotificationsComponent.Notifier>();
2019-01-03 21:00:28 +01:00
}
}
}