RegisterUnique

This commit is contained in:
Stephan
2018-11-29 10:35:16 +01:00
parent e9de6c1fc9
commit c6891c6c70
63 changed files with 520 additions and 602 deletions

View File

@@ -23,7 +23,7 @@ namespace Umbraco.Web.Components
public override void Compose(Composition composition)
{
base.Compose(composition);
composition.RegisterSingleton<Notifier>();
composition.RegisterUnique<Notifier>();
}
public void Initialize(INotificationService notificationService, Notifier notifier, ActionCollection actions)