Class DictionaryItemSavedNotification
A notification that is used to trigger the ILocalizationService when the Save (IDictionaryItem overload) method is called in the API and the 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. |