Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IStatefulNotification

    Represents a notification that can carry state between "ing" (before) and "ed" (after) notifications.

    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IStatefulNotification : INotification
    Remarks

    This interface allows notification handlers to store custom state data that persists between the starting notification (e.g., ContentSaving) and the ending notification (e.g., ContentSaved).

    Properties

    View Source

    State

    Gets or sets a dictionary for storing custom state data.

    Declaration
    IDictionary<string, object?> State { get; set; }
    Property Value
    Type Description
    IDictionary<string, object>
    Remarks

    Use this property to pass data between a starting ("ing") and an ending ("ed") notification handler.

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