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