Class DictionaryItemSavedNotification
A notification that is used to trigger the IDictionaryItemService when a dictionary item is created or updated via the API, after data has been persisted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class DictionaryItemSavedNotification : SavedNotification<IDictionaryItem>, IStatefulNotification, INotification
Constructors
View SourceDictionaryItemSavedNotification(IEnumerable<IDictionaryItem>, EventMessages)
Initializes a new instance of the DictionaryItemSavedNotification class with multiple dictionary items.
Declaration
public DictionaryItemSavedNotification(IEnumerable<IDictionaryItem> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IDictionaryItem> | target | The dictionary items that were saved. |
| EventMessages | messages | The event messages collection. |
DictionaryItemSavedNotification(IDictionaryItem, EventMessages)
Initializes a new instance of the DictionaryItemSavedNotification class with a single dictionary item.
Declaration
public DictionaryItemSavedNotification(IDictionaryItem target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionaryItem | target | The dictionary item that was saved. |
| EventMessages | messages | The event messages collection. |