Search Results for

    Show / Hide Table of Contents
    View Source

    Class ScriptSavedNotification

    Notification that is published after a script file has been saved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IScript>>
    EnumerableObjectNotification<IScript>
    SavedNotification<IScript>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class ScriptSavedNotification : SavedNotification<IScript>, IStatefulNotification, INotification
    Remarks

    This notification is published by the IFileService after the script has been persisted. It is not cancelable since the save operation has already completed.

    Constructors

    View Source

    ScriptSavedNotification(IEnumerable<IScript>, EventMessages)

    Initializes a new instance of the ScriptSavedNotification class with multiple scripts.

    Declaration
    public ScriptSavedNotification(IEnumerable<IScript> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IScript> target

    The collection of scripts that were saved.

    EventMessages messages

    The event messages collection.

    View Source

    ScriptSavedNotification(IScript, EventMessages)

    Initializes a new instance of the ScriptSavedNotification class with a single script.

    Declaration
    public ScriptSavedNotification(IScript target, EventMessages messages)
    Parameters
    Type Name Description
    IScript target

    The script that was saved.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX