Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateDeletedNotification

    A notification that is used to trigger the IFileService when the DeleteTemplate method is called in the API, after the template has been deleted.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<ITemplate>>
    EnumerableObjectNotification<ITemplate>
    DeletedNotification<ITemplate>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class TemplateDeletedNotification : DeletedNotification<ITemplate>, IStatefulNotification, INotification

    Constructors

    View Source

    TemplateDeletedNotification(ITemplate, EventMessages)

    Initializes a new instance of the TemplateDeletedNotification class with a single template.

    Declaration
    public TemplateDeletedNotification(ITemplate target, EventMessages messages)
    Parameters
    Type Name Description
    ITemplate target

    The template that was deleted.

    EventMessages messages

    The event messages collection.

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