Class DomainSavedNotification
Notification published after domains have been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class DomainSavedNotification : SavedNotification<IDomain>, IStatefulNotification, INotification
Remarks
This notification is published after domains have been successfully saved, allowing handlers to react for auditing or cache invalidation purposes.
Constructors
View SourceDomainSavedNotification(IEnumerable<IDomain>, EventMessages)
Initializes a new instance of the DomainSavedNotification class with multiple domains.
Declaration
public DomainSavedNotification(IEnumerable<IDomain> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IDomain> | target | The domains that were saved. |
| EventMessages | messages | The event messages collection. |
DomainSavedNotification(IDomain, EventMessages)
Initializes a new instance of the DomainSavedNotification class with a single domain.
Declaration
public DomainSavedNotification(IDomain target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IDomain | target | The domain that was saved. |
| EventMessages | messages | The event messages collection. |