Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedElementModel

    Provides an abstract base class for IPublishedElement implementations that wrap and extend another IPublishedElement.

    Inheritance
    object
    PublishedElementWrapped
    Namespace: Umbraco.Cms.Core.Models.PublishedContent
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class PublishedElementModel : PublishedElementWrapped, IPublishedElement
    Remarks

    Every strongly-typed property set class should inherit from PublishedElementModel (or inherit from a class that inherits from... etc.) so they are picked by the factory.

    Constructors

    View Source

    PublishedElementModel(IPublishedElement, IPublishedValueFallback)

    Initializes a new instance of the PublishedElementWrapped class with an IPublishedElement instance to wrap.

    Declaration
    protected PublishedElementModel(IPublishedElement content, IPublishedValueFallback publishedValueFallback)
    Parameters
    Type Name Description
    IPublishedElement content

    The content to wrap.

    IPublishedValueFallback publishedValueFallback

    The published value fallback.

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