View Source
The media picker property value converter.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public class MediaPickerValueConverter : PropertyValueConverterBase, IPropertyValueConverter, IDiscoverable
Constructors
View Source
MediaPickerValueConverter(IPublishedSnapshotAccessor, IPublishedModelFactory)
Declaration
public MediaPickerValueConverter(IPublishedSnapshotAccessor publishedSnapshotAccessor, IPublishedModelFactory publishedModelFactory)
Parameters
Methods
View Source
ConvertIntermediateToObject(IPublishedElement, IPublishedPropertyType, PropertyCacheLevel, Object, Boolean)
Declaration
public override object ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel cacheLevel, object source, bool preview)
Parameters
Returns
Type |
Description |
System.Object |
|
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 |
|