View Source
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
public class MediaPickerWithCropsValueConverter : PropertyValueConverterBase, IDeliveryApiPropertyValueConverter, IPropertyValueConverter, IDiscoverable
Constructors
View Source
MediaPickerWithCropsValueConverter(IPublishedMediaCache, IPublishedUrlProvider, IPublishedValueFallback, IJsonSerializer, IApiMediaWithCropsBuilder)
Declaration
public MediaPickerWithCropsValueConverter(IPublishedMediaCache publishedMediaCache, IPublishedUrlProvider publishedUrlProvider, IPublishedValueFallback publishedValueFallback, IJsonSerializer jsonSerializer, IApiMediaWithCropsBuilder apiMediaWithCropsBuilder)
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
GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType)
Declaration
public PropertyCacheLevel GetDeliveryApiPropertyCacheLevel(IPublishedPropertyType propertyType)
Parameters
Returns
View Source
GetDeliveryApiPropertyCacheLevelForExpansion(IPublishedPropertyType)
Declaration
public PropertyCacheLevel GetDeliveryApiPropertyCacheLevelForExpansion(IPublishedPropertyType propertyType)
Parameters
Returns
View Source
GetDeliveryApiPropertyValueType(IPublishedPropertyType)
Declaration
public Type GetDeliveryApiPropertyValueType(IPublishedPropertyType propertyType)
Parameters
Returns
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 |
|
View Source
Declaration
public override bool? IsValue(object value, PropertyValueLevel level)
Parameters
Returns
Type |
Description |
System.Nullable<System.Boolean> |
|