Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentModel<TContent>

    Inheritance
    System.Object
    ContentModel
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentModel<TContent> : ContentModel, IContentModel where TContent : IPublishedContent
    Type Parameters
    Name Description
    TContent

    Constructors

    View Source

    ContentModel(TContent)

    Initializes a new instance of the ContentModel<TContent> class with a content.

    Declaration
    public ContentModel(TContent content)
    Parameters
    Type Name Description
    TContent content

    Properties

    View Source

    Content

    Gets the content.

    Declaration
    public TContent Content { get; }
    Property Value
    Type Description
    TContent
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentModel(TContent)
    • Properties
      • Content
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX