Changed method signatures of some of the conversion methods on the PropertyValueEditor to make it more flexible for developers to do what they want.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Umbraco.Web.Models.Mapping
|
||||
|
||||
//FROM Property TO ContentPropertyBasic
|
||||
config.CreateMap<Property, ContentPropertyBasic>()
|
||||
.ConvertUsing<ContentPropertyBasicConverter<ContentPropertyBasic>>();
|
||||
.ConvertUsing(new ContentPropertyBasicConverter<ContentPropertyBasic>(lazyDataTypeService));
|
||||
|
||||
//FROM Property TO ContentPropertyDto
|
||||
config.CreateMap<Property, ContentPropertyDto>()
|
||||
|
||||
Reference in New Issue
Block a user