Fix typo, adds [CannotSuppressNotification]
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace Umbraco.Cms.Core.Notifications
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
internal sealed class CannotSuppressNotificationAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,9 @@ using Umbraco.Cms.Core.Models;
|
||||
|
||||
namespace Umbraco.Cms.Core.Notifications
|
||||
{
|
||||
|
||||
[Obsolete("This is only used for the internal cache and will change, use saved notifications instead")]
|
||||
[CannotSuppressNotification]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class ContentRefreshNotification : EntityRefreshNotification<IContent>
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@ using Umbraco.Cms.Core.Models;
|
||||
|
||||
namespace Umbraco.Cms.Core.Notifications
|
||||
{
|
||||
[CannotSuppressNotification]
|
||||
[Obsolete("This is only used for the internal cache and will change, use tree change notifications instead")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class MediaRefreshNotification : EntityRefreshNotification<IMedia>
|
||||
|
||||
@@ -5,6 +5,7 @@ using Umbraco.Cms.Core.Models;
|
||||
|
||||
namespace Umbraco.Cms.Core.Notifications
|
||||
{
|
||||
[CannotSuppressNotification]
|
||||
[Obsolete("This is only used for the internal cache and will change, use tree change notifications instead")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class MemberRefreshNotification : EntityRefreshNotification<IMember>
|
||||
|
||||
@@ -5,6 +5,7 @@ using Umbraco.Cms.Core.Models;
|
||||
|
||||
namespace Umbraco.Cms.Core.Notifications
|
||||
{
|
||||
[CannotSuppressNotification]
|
||||
[Obsolete("This is only used for the internal cache and will change, use tree change notifications instead")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class ScopedEntityRemoveNotification : ObjectNotification<IContentBase>
|
||||
|
||||
Reference in New Issue
Block a user