Class LanguageSavedNotification
A notification that is used to trigger the ILocalizationService when the Save (ILanguage overload) method is called in the API, after data has been persisted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class LanguageSavedNotification : SavedNotification<ILanguage>, IStatefulNotification, INotification
Constructors
View SourceLanguageSavedNotification(IEnumerable<ILanguage>, EventMessages)
Initializes a new instance of the LanguageSavedNotification class with multiple languages.
Declaration
public LanguageSavedNotification(IEnumerable<ILanguage> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ILanguage> | target | The languages that were saved. |
| EventMessages | messages | The event messages collection. |
LanguageSavedNotification(ILanguage, EventMessages)
Initializes a new instance of the LanguageSavedNotification class with a single language.
Declaration
public LanguageSavedNotification(ILanguage target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ILanguage | target | The language that was saved. |
| EventMessages | messages | The event messages collection. |