Port v7@2aa0dfb2c5 - WIP
This commit is contained in:
@@ -15,13 +15,11 @@ namespace Umbraco.Web.Models.Mapping
|
||||
internal class ContentPropertyBasicConverter<TDestination> : ITypeConverter<Property, TDestination>
|
||||
where TDestination : ContentPropertyBasic, new()
|
||||
{
|
||||
private readonly Lazy<IDataTypeService> _dataTypeService;
|
||||
protected IDataTypeService DataTypeService { get; }
|
||||
|
||||
protected IDataTypeService DataTypeService => _dataTypeService.Value;
|
||||
|
||||
public ContentPropertyBasicConverter(Lazy<IDataTypeService> dataTypeService)
|
||||
public ContentPropertyBasicConverter(IDataTypeService dataTypeService)
|
||||
{
|
||||
_dataTypeService = dataTypeService;
|
||||
DataTypeService = dataTypeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user