* Gather all notifications in Umbraco.Cms.Core.Notifications * Rename notifications to match convention * Move and rename missed notifications * Move the three remaining public notification into Umbraco.Cms.Core.Notifications
23 lines
649 B
C#
23 lines
649 B
C#
// Copyright (c) Umbraco.
|
|
// See LICENSE for more details.
|
|
|
|
using System.Collections.Generic;
|
|
using Umbraco.Cms.Core.Events;
|
|
using Umbraco.Cms.Core.Models;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
|
{
|
|
public sealed class ContentPublishedNotification : EnumerableObjectNotification<IContent>
|
|
{
|
|
public ContentPublishedNotification(IContent target, EventMessages messages) : base(target, messages)
|
|
{
|
|
}
|
|
|
|
public ContentPublishedNotification(IEnumerable<IContent> target, EventMessages messages) : base(target, messages)
|
|
{
|
|
}
|
|
|
|
public IEnumerable<IContent> PublishedEntities => Target;
|
|
}
|
|
}
|