Add notification classes
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
using Umbraco.Cms.Core.Events;
|
||||
using Umbraco.Cms.Core.Models;
|
||||
|
||||
namespace Umbraco.Cms.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class DictionaryItemDeletedNotification : DeletedNotification<IDictionaryItem>
|
||||
{
|
||||
public DictionaryItemDeletedNotification(IDictionaryItem target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class DictionaryItemDeletingNotification : DeletingNotification<IDictionaryItem>
|
||||
{
|
||||
public DictionaryItemDeletingNotification(IDictionaryItem target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
|
||||
public DictionaryItemDeletingNotification(IEnumerable<IDictionaryItem> target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class DictionaryItemSavedNotification : SavedNotification<IDictionaryItem>
|
||||
{
|
||||
public DictionaryItemSavedNotification(IDictionaryItem target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
|
||||
public DictionaryItemSavedNotification(IEnumerable<IDictionaryItem> target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class DictionaryItemSavingNotification : SavingNotification<IDictionaryItem>
|
||||
{
|
||||
public DictionaryItemSavingNotification(IDictionaryItem target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
|
||||
public DictionaryItemSavingNotification(IEnumerable<IDictionaryItem> target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
using Umbraco.Cms.Core.Events;
|
||||
using Umbraco.Cms.Core.Models;
|
||||
|
||||
namespace Umbraco.Cms.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class LanguageDeletedNotification : DeletedNotification<ILanguage>
|
||||
{
|
||||
public LanguageDeletedNotification(ILanguage target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class LanguageDeletingNotification : DeletingNotification<ILanguage>
|
||||
{
|
||||
public LanguageDeletingNotification(ILanguage target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
|
||||
public LanguageDeletingNotification(IEnumerable<ILanguage> target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class LanguageSavedNotification : SavedNotification<ILanguage>
|
||||
{
|
||||
public LanguageSavedNotification(ILanguage target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
|
||||
public LanguageSavedNotification(IEnumerable<ILanguage> target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// 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.Infrastructure.Services.Notifications
|
||||
{
|
||||
public class LanguageSavingNotification : SavingNotification<ILanguage>
|
||||
{
|
||||
public LanguageSavingNotification(ILanguage target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
|
||||
public LanguageSavingNotification(IEnumerable<ILanguage> target, EventMessages messages) : base(target, messages)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user