Search Results for

    Show / Hide Table of Contents
    View Source

    Class PartialViewSavingNotification

    Notification published before partial views are saved.

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

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

    Constructors

    View Source

    PartialViewSavingNotification(IEnumerable<IPartialView>, EventMessages)

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

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

    The partial views being saved.

    EventMessages messages

    The event messages collection.

    View Source

    PartialViewSavingNotification(IPartialView, EventMessages)

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

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

    The partial view being saved.

    EventMessages messages

    The event messages collection.

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