Class DocumentUrlServiceInitializerNotificationHandler
Inheritance
object
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public class DocumentUrlServiceInitializerNotificationHandler : INotificationAsyncHandler<UmbracoApplicationStartingNotification>, INotificationHandler
Constructors
View SourceDocumentUrlServiceInitializerNotificationHandler(IDocumentUrlService, IRuntimeState)
Declaration
public DocumentUrlServiceInitializerNotificationHandler(IDocumentUrlService documentUrlService, IRuntimeState runtimeState)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocumentUrlService | documentUrlService | |
| IRuntimeState | runtimeState |
Methods
View SourceHandleAsync(UmbracoApplicationStartingNotification, CancellationToken)
Handles a notification.
Declaration
public Task HandleAsync(UmbracoApplicationStartingNotification notification, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| UmbracoApplicationStartingNotification | notification | The notification. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing the asynchronous operation. |