Search Results for

    Show / Hide Table of Contents
    View Source

    Class DictionaryItemSavingNotification

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

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

    This notification is cancelable, allowing handlers to prevent the save operation by setting Cancel to true.

    Constructors

    View Source

    DictionaryItemSavingNotification(IEnumerable<IDictionaryItem>, EventMessages)

    Initializes a new instance of the DictionaryItemSavingNotification class with multiple dictionary items.

    Declaration
    public DictionaryItemSavingNotification(IEnumerable<IDictionaryItem> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IDictionaryItem> target

    The dictionary items being saved.

    EventMessages messages

    The event messages collection.

    View Source

    DictionaryItemSavingNotification(IDictionaryItem, EventMessages)

    Initializes a new instance of the DictionaryItemSavingNotification class with a single dictionary item.

    Declaration
    public DictionaryItemSavingNotification(IDictionaryItem target, EventMessages messages)
    Parameters
    Type Name Description
    IDictionaryItem target

    The dictionary item being saved.

    EventMessages messages

    The event messages collection.

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