Class RedirectUrlSavedNotification
Notification published after a redirect URL has been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class RedirectUrlSavedNotification : SavedNotification<IRedirectUrl>, IStatefulNotification, INotification
Constructors
View SourceRedirectUrlSavedNotification(IEnumerable<IRedirectUrl>, EventMessages)
Initializes a new instance of the RedirectUrlSavedNotification class.
Declaration
public RedirectUrlSavedNotification(IEnumerable<IRedirectUrl> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IRedirectUrl> | target | The redirect URLs that were saved. |
| EventMessages | messages | The event messages collection. |
RedirectUrlSavedNotification(IRedirectUrl, EventMessages)
Initializes a new instance of the RedirectUrlSavedNotification class.
Declaration
public RedirectUrlSavedNotification(IRedirectUrl target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IRedirectUrl | target | The redirect URL that was saved. |
| EventMessages | messages | The event messages collection. |