Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaCacheRefresher.JsonPayload

    Represents the JSON payload for media cache refresh operations.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Cache
    Assembly: Umbraco.Core.dll
    Syntax
    public class MediaCacheRefresher.JsonPayload

    Constructors

    View Source

    JsonPayload(int, Guid?, TreeChangeTypes)

    Initializes a new instance of the MediaCacheRefresher.JsonPayload class.

    Declaration
    public JsonPayload(int id, Guid? key, TreeChangeTypes changeTypes)
    Parameters
    Type Name Description
    int id

    The identifier of the media item.

    Guid? key

    The unique key of the media item.

    TreeChangeTypes changeTypes

    The types of changes that occurred.

    Properties

    View Source

    ChangeTypes

    Gets the types of changes that occurred.

    Declaration
    public TreeChangeTypes ChangeTypes { get; }
    Property Value
    Type Description
    TreeChangeTypes
    View Source

    Id

    Gets the identifier of the media item.

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    int
    View Source

    Key

    Gets the unique key of the media item.

    Declaration
    public Guid? Key { get; }
    Property Value
    Type Description
    Guid?
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX