AB3649 - Refactored services injected into ctor instead of methods

This commit is contained in:
Bjarke Berg
2019-11-12 10:42:39 +01:00
parent b4880944be
commit 6da93c6fc3
17 changed files with 56 additions and 50 deletions

View File

@@ -59,12 +59,12 @@ namespace Umbraco.Core.PropertyEditors
/// <summary>
/// Converts a property value to a value for the editor.
/// </summary>
object ToEditor(IProperty property, IDataTypeService dataTypeService, string culture = null, string segment = null);
object ToEditor(IProperty property, string culture = null, string segment = null);
// TODO: / deal with this when unplugging the xml cache
// why property vs propertyType? services should be injected! etc...
IEnumerable<XElement> ConvertDbToXml(IProperty property, IDataTypeService dataTypeService, ILocalizationService localizationService, bool published);
XNode ConvertDbToXml(IPropertyType propertyType, object value, IDataTypeService dataTypeService);
string ConvertDbToString(IPropertyType propertyType, object value, IDataTypeService dataTypeService);
IEnumerable<XElement> ConvertDbToXml(IProperty property, bool published);
XNode ConvertDbToXml(IPropertyType propertyType, object value);
string ConvertDbToString(IPropertyType propertyType, object value);
}
}