Class PublicAccessEntrySavedNotification
Notification published after public access entries have been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class PublicAccessEntrySavedNotification : SavedNotification<PublicAccessEntry>, IStatefulNotification, INotification
Remarks
Public access entries control which content nodes are restricted and require authentication. This notification is published after entries have been saved.
Constructors
View SourcePublicAccessEntrySavedNotification(IEnumerable<PublicAccessEntry>, EventMessages)
Initializes a new instance of the PublicAccessEntrySavedNotification class with multiple entries.
Declaration
public PublicAccessEntrySavedNotification(IEnumerable<PublicAccessEntry> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<PublicAccessEntry> | target | The public access entries that were saved. |
| EventMessages | messages | The event messages collection. |
PublicAccessEntrySavedNotification(PublicAccessEntry, EventMessages)
Initializes a new instance of the PublicAccessEntrySavedNotification class with a single entry.
Declaration
public PublicAccessEntrySavedNotification(PublicAccessEntry target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| PublicAccessEntry | target | The public access entry that was saved. |
| EventMessages | messages | The event messages collection. |