Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedElementModel

    Represents a strongly-typed published element.

    Inheritance
    System.Object
    PublishedElementWrapped
    Namespace: Umbraco.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)

    Initializes a new instance of the PublishedElementModel class with an original IPublishedElement instance.

    Declaration
    protected PublishedElementModel(IPublishedElement content)
    Parameters
    Type Name Description
    IPublishedElement content

    The original content.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PublishedElementModel(IPublishedElement)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX