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