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 SourceGetPropertyValue(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. |