Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTypeSavingNotification

    A notification that is used to trigger the IMediaTypeService when the Save method is called in the API.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<IMediaType>>
    CancelableObjectNotification<IEnumerable<IMediaType>>
    CancelableEnumerableObjectNotification<IMediaType>
    SavingNotification<IMediaType>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class MediaTypeSavingNotification : SavingNotification<IMediaType>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    MediaTypeSavingNotification(IEnumerable<IMediaType>, EventMessages)

    Initializes a new instance of the MediaTypeSavingNotification.

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

    Gets the collection of IMediaType objects being saved.

    EventMessages messages

    Initializes a new instance of the EventMessages.

    View Source

    MediaTypeSavingNotification(IMediaType, EventMessages)

    Declaration
    public MediaTypeSavingNotification(IMediaType target, EventMessages messages)
    Parameters
    Type Name Description
    IMediaType target
    EventMessages messages
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX
    OSZAR »