2019-01-03 21:00:28 +01:00
|
|
|
|
using Umbraco.Core;
|
|
|
|
|
|
using Umbraco.Core.Components;
|
|
|
|
|
|
using Umbraco.Core.Composing;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Components
|
|
|
|
|
|
{
|
|
|
|
|
|
[RuntimeLevel(MinLevel = RuntimeLevel.Run)]
|
2019-01-05 15:49:10 +01:00
|
|
|
|
public sealed class NotificationsComposer : ComponentComposer<NotificationsComponent>, ICoreComposer
|
2019-01-03 21:00:28 +01:00
|
|
|
|
{
|
2019-01-05 15:49:10 +01:00
|
|
|
|
public override void Compose(Composition composition)
|
2019-01-03 21:00:28 +01:00
|
|
|
|
{
|
2019-01-05 15:49:10 +01:00
|
|
|
|
base.Compose(composition);
|
|
|
|
|
|
|
2019-01-03 21:00:28 +01:00
|
|
|
|
composition.RegisterUnique<NotificationsComponent.Notifier>();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|