Interface IBlockElementService
Namespace: Umbraco.Cms.Core.PublishedCache
Assembly: Umbraco.Core.dll
Syntax
public interface IBlockElementService
Methods
View SourceBuildElementAsync(BlockItemData, bool?)
Declaration
Task<IPublishedElement?> BuildElementAsync(BlockItemData blockItemData, bool? preview = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BlockItemData | blockItemData | |
| bool? | preview |
Returns
| Type | Description |
|---|---|
| Task<IPublishedElement> |