Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApiPropertyRenderer

    Defines a renderer that converts published property values for Delivery API responses.

    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IApiPropertyRenderer

    Methods

    View Source

    GetPropertyValue(IPublishedProperty, bool)

    Gets the rendered value of a property for the Delivery API response.

    Declaration
    object? GetPropertyValue(IPublishedProperty property, bool expanding)
    Parameters
    Type Name Description
    IPublishedProperty property

    The published property to render.

    bool expanding

    Whether the property value should be expanded.

    Returns
    Type Description
    object

    The rendered property value.

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