Class RedirectUrlSavingNotification
Notification published before a redirect URL is saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class RedirectUrlSavingNotification : SavingNotification<IRedirectUrl>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceRedirectUrlSavingNotification(IEnumerable<IRedirectUrl>, EventMessages)
Initializes a new instance of the RedirectUrlSavingNotification class.
Declaration
public RedirectUrlSavingNotification(IEnumerable<IRedirectUrl> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IRedirectUrl> | target | The redirect URLs being saved. |
| EventMessages | messages | The event messages collection. |
RedirectUrlSavingNotification(IRedirectUrl, EventMessages)
Initializes a new instance of the RedirectUrlSavingNotification class.
Declaration
public RedirectUrlSavingNotification(IRedirectUrl target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IRedirectUrl | target | The redirect URL being saved. |
| EventMessages | messages | The event messages collection. |