Search Results for

    Show / Hide Table of Contents
    View Source

    Class PartialViewDeletingNotification

    Notification published before a partial view is deleted.

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

    This notification is cancelable, allowing handlers to prevent the delete operation by setting Cancel to true.

    Constructors

    View Source

    PartialViewDeletingNotification(IEnumerable<IPartialView>, EventMessages)

    Initializes a new instance of the PartialViewDeletingNotification class with multiple partial views.

    Declaration
    public PartialViewDeletingNotification(IEnumerable<IPartialView> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IPartialView> target

    The partial views being deleted.

    EventMessages messages

    The event messages collection.

    View Source

    PartialViewDeletingNotification(IPartialView, EventMessages)

    Initializes a new instance of the PartialViewDeletingNotification class with a single partial view.

    Declaration
    public PartialViewDeletingNotification(IPartialView target, EventMessages messages)
    Parameters
    Type Name Description
    IPartialView target

    The partial view being deleted.

    EventMessages messages

    The event messages collection.

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