View Source
Class BlockGridPropertyValueConverter
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BlockGridPropertyValueConverter : BlockPropertyValueConverterBase<BlockGridModel, BlockGridItem, BlockGridLayoutItem, BlockGridConfiguration.BlockGridBlockConfiguration>, IDeliveryApiPropertyValueConverter, IPropertyValueConverter, IDiscoverable
Constructors
View Source
BlockGridPropertyValueConverter(IProfilingLogger, BlockEditorConverter, IJsonSerializer)
Declaration
public BlockGridPropertyValueConverter(IProfilingLogger proflog, BlockEditorConverter blockConverter, IJsonSerializer jsonSerializer)
Parameters
View Source
BlockGridPropertyValueConverter(IProfilingLogger, BlockEditorConverter, IJsonSerializer, IApiElementBuilder)
Declaration
public BlockGridPropertyValueConverter(IProfilingLogger proflog, BlockEditorConverter blockConverter, IJsonSerializer jsonSerializer, IApiElementBuilder apiElementBuilder)
Parameters
Methods
View Source
ConvertIntermediateToDeliveryApiObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean, Boolean)
Declaration
public object ConvertIntermediateToDeliveryApiObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object inter, bool preview, bool expanding)
Parameters
Returns
Type |
Description |
System.Object |
|
View Source
ConvertIntermediateToObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean)
Declaration
public override object ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object inter, bool preview)
Parameters
Returns
Type |
Description |
System.Object |
|
View Source
CreateBlockEditorDataConverter()
Declaration
protected override BlockEditorDataConverter CreateBlockEditorDataConverter()
Returns
View Source
CreateBlockItemActivator()
Declaration
protected override BlockPropertyValueConverterBase<BlockGridModel, BlockGridItem, BlockGridLayoutItem, BlockGridConfiguration.BlockGridBlockConfiguration>.BlockItemActivator<BlockGridItem> CreateBlockItemActivator()
Returns
View Source
GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType)
Declaration
public PropertyCacheLevel GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType propertyType)
Parameters
Returns
View Source
GetDeliveryApiPropertyValueType(IPublishedPropertyType)
Declaration
public Type GetDeliveryApiPropertyValueType(IPublishedPropertyType propertyType)
Parameters
Returns
View Source
IsConverter(IPublishedPropertyType)
Gets a value indicating whether the converter supports a property type.
Declaration
public override bool IsConverter(IPublishedPropertyType propertyType)
Parameters
Returns
Type |
Description |
System.Boolean |
A value indicating whether the converter supports a property type.
|