View Source
Class GridValueConverter
This ensures that the grid config is merged in with the front-end value
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class GridValueConverter : JsonValueConverter, IDeliveryApiPropertyValueConverter, IPropertyValueConverter, IDiscoverable
Constructors
View Source
GridValueConverter(PropertyEditorCollection, IGridConfig, ILogger<GridValueConverter>)
Declaration
public GridValueConverter(PropertyEditorCollection propertyEditors, IGridConfig config, ILogger<GridValueConverter> logger)
Parameters
Methods
View Source
ConvertSourceToIntermediate(IPublishedElement, IPublishedPropertyType, Object, Boolean)
Declaration
public override object ConvertSourceToIntermediate(IPublishedElement owner, IPublishedPropertyType propertyType, object source, bool preview)
Parameters
Returns
Type |
Description |
System.Object |
|
View Source
GetPropertyCacheLevel(IPublishedPropertyType)
Declaration
public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType)
Parameters
Returns
View Source
GetPropertyValueType(IPublishedPropertyType)
Declaration
public override Type GetPropertyValueType(IPublishedPropertyType propertyType)
Parameters
Returns
View Source
IsConverter(IPublishedPropertyType)
Declaration
public override bool IsConverter(IPublishedPropertyType propertyType)
Parameters
Returns
Type |
Description |
System.Boolean |
|