Skip to content

Latest commit

 

History

History
143 lines (131 loc) · 4.2 KB

File metadata and controls

143 lines (131 loc) · 4.2 KB
versionFrom
9.0.0

LocalizationService Events

:::note If you are using Umbraco 8 or any lower version, please refer to the LocalizationService Events article instead. :::

The LocalizationService class implements ILocalizationService. It provides access to operations involving Language and DictionaryItem.

Notification Members Description
LanguageSavingNotification
  • IEnumerable<ILanguage> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when LocalizationService.Save (ILanguage overload) is called in the API.
SavedEntities: Gets the collection of ILanguage objects being saved.
LanguageSavedNotification
  • IEnumerable<ILanguage> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
RPublished when LocalizationService.Save (ILanguage overload) is called in the API after data has been persisted.
SavedEntities: Gets the saved collection of ILanguage objects..
DictionaryItemSavingNotification
  • IEnumerable<IDictionaryItem> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when LocalizationService.Save (IDictionaryItem overload) is called in the API.
SavedEntities: Gets the collection of IDictionaryItem objects being saved.
DictionaryItemSavedNotification
  • IEnumerable<IDictionaryItem> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
Published when LocalizationService.Save (IDictionaryItem overload) is called in the API and the data has been persisted.
SavedEntities: Gets the saved collection of IDictionary objects.
LanguageDeletingNotification
  • IEnumerable<ILanguage> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when LocalizationService.Delete (ILanguage overload) is called in the API.
DeletedEntities: Gets the collection of ILanguage objects being deleted.
LanguageDeletedNotification
  • IEnumerable<ILanguage> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
Published when LocalizationService.Delete (ILanguage overload) is called in the API, after the languages has been deleted.
DeletedEntities: Gets the collection of deleted ILanguage objects.
DictionaryItemDeletingNotification
  • IEnumerable<IDictionaryItem> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when LocalizationService.Delete (IDictionaryItem overload) is called in the API.
DeletedEntities: Gets the collection of IDictionaryItem objects being deleted
DictionaryItemDeletedNotification
  • IEnumerable<IDictionaryItem> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
Published when LocalizationService.Delete (IDictionaryItem overload) is called in the API, after the dictionary items has been deleted.
DeletedEntities: Gets the collection of deleted IDictionaryItem objects.