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