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