Class RedirectTrackingHandler
Inheritance
object
Namespace: Umbraco.Cms.Core.Routing
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class RedirectTrackingHandler : INotificationHandler<ContentPublishingNotification>, INotificationHandler<ContentPublishedNotification>, INotificationHandler<ContentMovingNotification>, INotificationHandler<ContentMovedNotification>, INotificationHandler
Constructors
View SourceRedirectTrackingHandler(IOptionsMonitor<WebRoutingSettings>, IRedirectTracker)
Declaration
public RedirectTrackingHandler(IOptionsMonitor<WebRoutingSettings> webRoutingSettings, IRedirectTracker redirectTracker)
Parameters
| Type | Name | Description |
|---|---|---|
| IOptionsMonitor<WebRoutingSettings> | webRoutingSettings | |
| IRedirectTracker | redirectTracker |
Methods
View SourceHandle(ContentMovedNotification)
Handles a notification.
Declaration
public void Handle(ContentMovedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMovedNotification | notification | The notification. |
Handle(ContentMovingNotification)
Handles a notification.
Declaration
public void Handle(ContentMovingNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMovingNotification | notification | The notification. |
Handle(ContentPublishedNotification)
Handles a notification.
Declaration
public void Handle(ContentPublishedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentPublishedNotification | notification | The notification. |
Handle(ContentPublishingNotification)
Handles a notification.
Declaration
public void Handle(ContentPublishingNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentPublishingNotification | notification | The notification. |