Skip to content

Latest commit

 

History

History
108 lines (105 loc) · 4.2 KB

LocalizationService-Events.md

File metadata and controls

108 lines (105 loc) · 4.2 KB

#LocalizationService Events#

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

Event Signature Description
SavingLanguage (ILocalizationService sender, SaveEventArgs<ILanguage> e) Raised when LocalizationService.Save (ILanguage overload) is called in the API.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. SavedEntities: Gets the collection of ILanguage objects being saved.
SavedLanguage (ILocalizationService sender, SaveEventArgs<ILanguage> e) Raised when LocalizationService.Save (ILanguage overload) is called in the API and after data has been persisted.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. SavedEntities: Gets the saved collection of ILanguage objects.
SavingDictionaryItem (ILocalizationService sender, SaveEventArgs<IDictionaryItem> e) Raised when LocalizationService.Save (IDictionaryItem overload) is called in the API.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. SavedEntities: Gets the collection of IDictionaryItem objects being saved.
SavedDictionaryItem (ILocalizationService sender, SaveEventArgs<IDictionaryItem> e) Raised when LocalizationService.Save (IDictionaryItem overload) is called in the API and after data has been persisted.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. SavedEntities: Gets the saved collection of IDictionary objects.
DeletingLanguage (ILocalizationService sender, DeleteEventArgs<ILanguage> e) Raised when LocalizationService.Delete (ILanguage overload) is called in the API.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. DeletedEntities: Gets the collection of ILanguage objects being deleted.
DeletedLanguage (ILocalizationService sender, DeleteEventArgs<ILanguage> e) Raised when LocalizationService.Delete (ILanguage overload) is called in the API.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. DeletedEntities: Gets the collection of deleted ILanguage objects.
DeletingDictionaryItem (ILocalizationService sender, DeleteEventArgs<IDictionaryItem> e) Raised when LocalizationService.Delete (IDictionaryItem overload) is called in the API.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. DeletedEntities: Gets the collection of IDictionaryItem objects being deleted.
DeletedDictionaryItem (ILocalizationService sender, DeleteEventArgs<IDictionaryItem> e) Raised when LocalizationService.Delete (IDictionaryItem overload) is called in the API.
"sender" will be the current ILocalizationService object.
"e" will provide:
  1. DeletedEntities: Gets the collection of deleted IDictionaryItem objects.