Class StylesheetDeletingNotification
A notification that is used to trigger the IFileService when the DeleteStylesheet method is called in the API.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class StylesheetDeletingNotification : DeletingNotification<IStylesheet>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceStylesheetDeletingNotification(IEnumerable<IStylesheet>, EventMessages)
Initializes a new instance of the StylesheetDeletingNotification class with multiple stylesheets.
Declaration
public StylesheetDeletingNotification(IEnumerable<IStylesheet> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IStylesheet> | target | The stylesheets being deleted. |
| EventMessages | messages | The event messages collection. |
StylesheetDeletingNotification(IStylesheet, EventMessages)
Initializes a new instance of the StylesheetDeletingNotification class with a single stylesheet.
Declaration
public StylesheetDeletingNotification(IStylesheet target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IStylesheet | target | The stylesheet being deleted. |
| EventMessages | messages | The event messages collection. |