23 lines
661 B
C#
23 lines
661 B
C#
// Copyright (c) Umbraco.
|
|
// See LICENSE for more details.
|
|
|
|
using Umbraco.Cms.Core.Events;
|
|
using Umbraco.Cms.Core.Models;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications;
|
|
/// <summary>
|
|
/// A notification that is used to trigger the IFileService when the SaveScript method is called in the API, after the script has been saved.
|
|
/// </summary>
|
|
public class ScriptSavedNotification : SavedNotification<IScript>
|
|
{
|
|
public ScriptSavedNotification(IScript target, EventMessages messages)
|
|
: base(target, messages)
|
|
{
|
|
}
|
|
|
|
public ScriptSavedNotification(IEnumerable<IScript> target, EventMessages messages)
|
|
: base(target, messages)
|
|
{
|
|
}
|
|
}
|