diff --git a/src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs b/src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs
index be8b0619f5..4724295b3f 100644
--- a/src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs
+++ b/src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs
@@ -4,13 +4,16 @@ using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors
{
///
- /// Provides a default overridable implementation for that does nothing.
+ /// Provides a default implementation for .
///
+ ///
public abstract class PropertyValueConverterBase : IPropertyValueConverter
{
+ ///
public virtual bool IsConverter(IPublishedPropertyType propertyType)
=> false;
+ ///
public virtual bool? IsValue(object value, PropertyValueLevel level)
{
switch (level)
@@ -35,18 +38,23 @@ namespace Umbraco.Core.PropertyEditors
return value != null && (!(value is string stringValue) || !string.IsNullOrWhiteSpace(stringValue));
}
+ ///
public virtual Type GetPropertyValueType(IPublishedPropertyType propertyType)
=> typeof(object);
+ ///
public virtual PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType)
=> PropertyCacheLevel.Snapshot;
+ ///
public virtual object ConvertSourceToIntermediate(IPublishedElement owner, IPublishedPropertyType propertyType, object source, bool preview)
=> source;
+ ///
public virtual object ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object inter, bool preview)
=> inter;
+ ///
public virtual object ConvertIntermediateToXPath(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object inter, bool preview)
=> inter?.ToString() ?? string.Empty;
}