Class NavigationInitializationNotificationHandler
Responsible for seeding the in-memory navigation structures at application's startup by rebuild the navigation structures.
Inheritance
object
Namespace: Umbraco.Cms.Core.Services.Navigation
Assembly: Umbraco.Core.dll
Syntax
public sealed class NavigationInitializationNotificationHandler : INotificationAsyncHandler<PostRuntimePremigrationsUpgradeNotification>, INotificationHandler
Constructors
View SourceNavigationInitializationNotificationHandler(IRuntimeState, IDocumentNavigationManagementService, IMediaNavigationManagementService)
Declaration
public NavigationInitializationNotificationHandler(IRuntimeState runtimeState, IDocumentNavigationManagementService documentNavigationManagementService, IMediaNavigationManagementService mediaNavigationManagementService)
Parameters
| Type | Name | Description |
|---|---|---|
| IRuntimeState | runtimeState | |
| IDocumentNavigationManagementService | documentNavigationManagementService | |
| IMediaNavigationManagementService | mediaNavigationManagementService |
Methods
View SourceHandleAsync(PostRuntimePremigrationsUpgradeNotification, CancellationToken)
Handles a notification.
Declaration
public Task HandleAsync(PostRuntimePremigrationsUpgradeNotification notification, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| PostRuntimePremigrationsUpgradeNotification | notification | The notification. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing the asynchronous operation. |