Class StylesheetSavedNotification
Notification that is published after a stylesheet has been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class StylesheetSavedNotification : SavedNotification<IStylesheet>, IStatefulNotification, INotification
Remarks
This notification is published by the IFileService after the stylesheet has been persisted. It is not cancelable since the save operation has already completed.
Constructors
View SourceStylesheetSavedNotification(IEnumerable<IStylesheet>, EventMessages)
Initializes a new instance of the StylesheetSavedNotification class with multiple stylesheets.
Declaration
public StylesheetSavedNotification(IEnumerable<IStylesheet> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IStylesheet> | target | The collection of stylesheets that were saved. |
| EventMessages | messages | The event messages collection. |
StylesheetSavedNotification(IStylesheet, EventMessages)
Initializes a new instance of the StylesheetSavedNotification class with a single stylesheet.
Declaration
public StylesheetSavedNotification(IStylesheet target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IStylesheet | target | The stylesheet that was saved. |
| EventMessages | messages | The event messages collection. |