Class PartialViewSavedNotification
Notification published after partial views have been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class PartialViewSavedNotification : SavedNotification<IPartialView>, IStatefulNotification, INotification
Remarks
This notification is published after partial view files have been successfully saved to the file system.
Constructors
View SourcePartialViewSavedNotification(IEnumerable<IPartialView>, EventMessages)
Initializes a new instance of the PartialViewSavedNotification class with multiple partial views.
Declaration
public PartialViewSavedNotification(IEnumerable<IPartialView> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IPartialView> | target | The partial views that were saved. |
| EventMessages | messages | The event messages collection. |
PartialViewSavedNotification(IPartialView, EventMessages)
Initializes a new instance of the PartialViewSavedNotification class with a single partial view.
Declaration
public PartialViewSavedNotification(IPartialView target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IPartialView | target | The partial view that was saved. |
| EventMessages | messages | The event messages collection. |