Class EntityContainerRenamingNotification
Notification published before entity containers (folders) are renamed.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class EntityContainerRenamingNotification : RenamingNotification<EntityContainer>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the rename operation
by setting Cancel to true.
Constructors
View SourceEntityContainerRenamingNotification(EntityContainer, EventMessages)
Initializes a new instance of the EntityContainerRenamingNotification class.
Declaration
public EntityContainerRenamingNotification(EntityContainer target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityContainer | target | The entity container being renamed. |
| EventMessages | messages | The event messages collection. |