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 SourceState
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.