Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTypeSavedNotification

    Notification that is published after a media type has been saved.

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

    This notification is published by the IMediaTypeService after the media type has been persisted. It is not cancelable since the save operation has already completed.

    Constructors

    View Source

    MediaTypeSavedNotification(IEnumerable<IMediaType>, EventMessages)

    Initializes a new instance of the MediaTypeSavedNotification class with multiple media types.

    Declaration
    public MediaTypeSavedNotification(IEnumerable<IMediaType> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IMediaType> target

    The collection of media types that were saved.

    EventMessages messages

    The event messages collection.

    View Source

    MediaTypeSavedNotification(IMediaType, EventMessages)

    Initializes a new instance of the MediaTypeSavedNotification class with a single media type.

    Declaration
    public MediaTypeSavedNotification(IMediaType target, EventMessages messages)
    Parameters
    Type Name Description
    IMediaType target

    The media type that was saved.

    EventMessages messages

    The event messages collection.

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