Files
Umbraco-CMS/src/Umbraco.Core/Cache/ICacheRefresherNotificationFactory.cs
Mole 2bf86acf38 V9: Place notifications in the same namespace (#10231)
* 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
2021-05-11 14:33:49 +02:00

18 lines
632 B
C#

using Umbraco.Cms.Core.Notifications;
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// Factory for creating cache refresher notification instances
/// </summary>
public interface ICacheRefresherNotificationFactory
{
/// <summary>
/// Creates a <see cref="ICacheRefresherNotification"/>
/// </summary>
/// <typeparam name="TNotification">The <see cref="ICacheRefresherNotification"/> to create</typeparam>
TNotification Create<TNotification>(object msgObject, MessageType type) where TNotification : CacheRefresherNotification;
}
}