Interface IApiElementBuilder
Defines a builder that creates IApiElement instances from published elements.
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IApiElementBuilder
Methods
View SourceBuild(IPublishedElement)
Builds an IApiElement instance from the specified published element.
Declaration
IApiElement Build(IPublishedElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublishedElement | element | The published element to build from. |
Returns
| Type | Description |
|---|---|
| IApiElement | An IApiElement instance. |