Class RedirectUrlDeletedNotification
Notification published after one or more redirect URLs have been deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class RedirectUrlDeletedNotification : DeletedNotification<IRedirectUrl>, IStatefulNotification, INotification
Constructors
View SourceRedirectUrlDeletedNotification(IEnumerable<IRedirectUrl>, EventMessages)
Initializes a new instance of the RedirectUrlDeletedNotification class with multiple redirect URLs.
Declaration
public RedirectUrlDeletedNotification(IEnumerable<IRedirectUrl> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IRedirectUrl> | target | The redirect URLs that were deleted. |
| EventMessages | messages | The event messages collection. |
RedirectUrlDeletedNotification(IRedirectUrl, EventMessages)
Initializes a new instance of the RedirectUrlDeletedNotification class with a single redirect URL.
Declaration
public RedirectUrlDeletedNotification(IRedirectUrl target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IRedirectUrl | target | The redirect URL that was deleted. |
| EventMessages | messages | The event messages collection. |