Class ComplexPropertyEditorContentNotificationHandler
Handles nested Udi keys when
- saving: Empty keys get generated
- copy: keys get replaced by new ones while keeping references intact
- scaffolding: keys get replaced by new ones while keeping references intact
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class ComplexPropertyEditorContentNotificationHandler : INotificationHandler<ContentSavingNotification>, INotificationHandler<ContentCopyingNotification>, INotificationHandler<ContentScaffoldedNotification>, INotificationHandler
Properties
View SourceEditorAlias
Declaration
protected abstract string EditorAlias { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceFormatPropertyValue(string, bool)
Declaration
protected abstract string FormatPropertyValue(string rawJson, bool onlyMissingKeys)
Parameters
| Type | Name | Description |
|---|---|---|
| string | rawJson | |
| bool | onlyMissingKeys |
Returns
| Type | Description |
|---|---|
| string |
Handle(ContentCopyingNotification)
Handles a notification.
Declaration
public void Handle(ContentCopyingNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentCopyingNotification | notification | The notification. |
Handle(ContentSavingNotification)
Handles a notification.
Declaration
public void Handle(ContentSavingNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentSavingNotification | notification | The notification. |
Handle(ContentScaffoldedNotification)
Handles a notification.
Declaration
public void Handle(ContentScaffoldedNotification notification)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentScaffoldedNotification | notification | The notification. |