Search Results for

    Show / Hide Table of Contents
    View Source

    Class OutputCacheContentChangedContext

    Describes a content change that triggered output cache eviction.

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

    Constructors

    View Source

    OutputCacheContentChangedContext(int, Guid, IReadOnlyCollection<string>, IReadOnlyCollection<string>)

    Initializes a new instance of the OutputCacheContentChangedContext class.

    Declaration
    public OutputCacheContentChangedContext(int contentId, Guid contentKey, IReadOnlyCollection<string> publishedCultures, IReadOnlyCollection<string> unpublishedCultures)
    Parameters
    Type Name Description
    int contentId

    The integer ID of the content that changed.

    Guid contentKey

    The key of the content that changed.

    IReadOnlyCollection<string> publishedCultures

    The cultures that were published, if applicable.

    IReadOnlyCollection<string> unpublishedCultures

    The cultures that were unpublished, if applicable.

    Properties

    View Source

    ContentId

    Gets the integer ID of the content that changed.

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

    ContentKey

    Gets the key of the content that changed.

    Declaration
    public Guid ContentKey { get; }
    Property Value
    Type Description
    Guid
    View Source

    PublishedCultures

    Gets the cultures that were published, if applicable. Empty for invariant content.

    Declaration
    public IReadOnlyCollection<string> PublishedCultures { get; }
    Property Value
    Type Description
    IReadOnlyCollection<string>
    View Source

    UnpublishedCultures

    Gets the cultures that were unpublished, if applicable. Empty for invariant content.

    Declaration
    public IReadOnlyCollection<string> UnpublishedCultures { get; }
    Property Value
    Type Description
    IReadOnlyCollection<string>
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX