Class TemplateDeletedNotification
A notification that is used to trigger the IFileService when the DeleteTemplate method is called in the API, after the template has been deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class TemplateDeletedNotification : DeletedNotification<ITemplate>, IStatefulNotification, INotification
Constructors
View SourceTemplateDeletedNotification(ITemplate, EventMessages)
Initializes a new instance of the TemplateDeletedNotification class with a single template.
Declaration
public TemplateDeletedNotification(ITemplate target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ITemplate | target | The template that was deleted. |
| EventMessages | messages | The event messages collection. |