Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateDeletingNotification

    A notification that is used to trigger the IFileService when the DeleteTemplate method is called in the API.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<ITemplate>>
    CancelableObjectNotification<IEnumerable<ITemplate>>
    CancelableEnumerableObjectNotification<ITemplate>
    DeletingNotification<ITemplate>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class TemplateDeletingNotification : DeletingNotification<ITemplate>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    TemplateDeletingNotification(IEnumerable<ITemplate>, EventMessages)

    Initializes a new instance of the TemplateDeletingNotification class with multiple templates.

    Declaration
    public TemplateDeletingNotification(IEnumerable<ITemplate> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<ITemplate> target

    The templates being deleted.

    EventMessages messages

    The event messages collection.

    View Source

    TemplateDeletingNotification(ITemplate, EventMessages)

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

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

    The template being deleted.

    EventMessages messages

    The event messages collection.

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