Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedContentModel

    Represents a strongly-typed published content.

    Inheritance
    System.Object
    PublishedContentWrapped
    Namespace: Umbraco.Cms.Core.Models.PublishedContent
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class PublishedContentModel : PublishedContentWrapped, IPublishedContent, IPublishedElement
    Remarks

    Every strongly-typed published content class should inherit from PublishedContentModel (or inherit from a class that inherits from... etc.) so they are picked by the factory.

    Constructors

    View Source

    PublishedContentModel(IPublishedContent, IPublishedValueFallback)

    Initializes a new instance of the PublishedContentModel class with an original IPublishedContent instance.

    Declaration
    protected PublishedContentModel(IPublishedContent content, IPublishedValueFallback publishedValueFallback)
    Parameters
    Type Name Description
    IPublishedContent content

    The original content.

    IPublishedValueFallback publishedValueFallback

    the PublishedValueFallback

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