Interface IApiContentResponseBuilder
Defines a builder that creates IApiContentResponse instances from published content.
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IApiContentResponseBuilder
Methods
View SourceBuild(IPublishedContent)
Builds an IApiContentResponse instance from the specified published content.
Declaration
IApiContentResponse? Build(IPublishedContent content)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublishedContent | content | The published content to build from. |
Returns
| Type | Description |
|---|---|
| IApiContentResponse | An IApiContentResponse instance, or |