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:
Shannon
2013-11-19 11:51:01 +11:00
parent ac2009e4ae
commit 2f42fc61bf
14 changed files with 103 additions and 67 deletions

View File

@@ -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>()