Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedContentExtensionsForModels

    Provides strongly typed published content models services.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class PublishedContentExtensionsForModels

    Methods

    View Source

    CreateModel(IPublishedContent, IPublishedModelFactory)

    Creates a strongly typed published content model for an internal published content.

    Declaration
    public static IPublishedContent CreateModel(this IPublishedContent content, IPublishedModelFactory publishedModelFactory)
    Parameters
    Type Name Description
    IPublishedContent content

    The internal published content.

    IPublishedModelFactory publishedModelFactory

    The published model factory

    Returns
    Type Description
    IPublishedContent

    The strongly typed published content model.

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