Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedElement

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PublishedCache
    Assembly: Umbraco.Core.dll
    Syntax
    public class PublishedElement : IPublishedElement

    Constructors

    View Source

    PublishedElement(IPublishedContentType, Guid, Nullable<Dictionary<String, Object>>, Boolean, PropertyCacheLevel, IPublishedSnapshotAccessor)

    Declaration
    public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object>? values, bool previewing, PropertyCacheLevel referenceCacheLevel, IPublishedSnapshotAccessor publishedSnapshotAccessor)
    Parameters
    Type Name Description
    IPublishedContentType contentType
    Guid key
    System.Nullable<Umbraco.Cms.Core.Dictionary<System.String, System.Object>> values
    System.Boolean previewing
    PropertyCacheLevel referenceCacheLevel
    IPublishedSnapshotAccessor publishedSnapshotAccessor
    View Source

    PublishedElement(IPublishedContentType, Guid, Dictionary<String, Object>, Boolean)

    Declaration
    public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object> values, bool previewing)
    Parameters
    Type Name Description
    IPublishedContentType contentType
    Guid key
    Umbraco.Cms.Core.Dictionary<System.String, System.Object> values
    System.Boolean previewing

    Properties

    View Source

    ContentType

    Declaration
    public IPublishedContentType ContentType { get; }
    Property Value
    Type Description
    IPublishedContentType
    View Source

    Key

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

    Properties

    Declaration
    public IEnumerable<IPublishedProperty> Properties { get; }
    Property Value
    Type Description
    IEnumerable<IPublishedProperty>

    Methods

    View Source

    GetProperty(String)

    Declaration
    public IPublishedProperty GetProperty(string alias)
    Parameters
    Type Name Description
    System.String alias
    Returns
    Type Description
    IPublishedProperty
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PublishedElement(IPublishedContentType, Guid, Nullable<Dictionary<String, Object>>, Boolean, PropertyCacheLevel, IPublishedSnapshotAccessor)
      • PublishedElement(IPublishedContentType, Guid, Dictionary<String, Object>, Boolean)
    • Properties
      • ContentType
      • Key
      • Properties
    • Methods
      • GetProperty(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX