Search Results for

    Show / Hide Table of Contents
    View Source

    Class LanguageSavingNotification

    A notification that is used to trigger the ILocalizationService when the Save (ILanguage overload) method is called in the API.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<ILanguage>>
    CancelableObjectNotification<IEnumerable<ILanguage>>
    CancelableEnumerableObjectNotification<ILanguage>
    SavingNotification<ILanguage>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class LanguageSavingNotification : SavingNotification<ILanguage>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    LanguageSavingNotification(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.

    View Source

    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.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX