U4-8227 Change Umbraco.Core.Models.Mapping.MapperConfiguration and Umbraco.Core.Models.Mapping.IMapperConfiguration implementations AND U4-6923 Update to latest Automapper - with signed assembly

This commit is contained in:
Shannon
2016-03-22 16:29:04 +01:00
parent b90cb7304b
commit 9baf344ad3
34 changed files with 148 additions and 115 deletions

View File

@@ -12,9 +12,9 @@ namespace Umbraco.Web.Models.Mapping
/// A mapper which declares how to map content properties. These mappings are shared among media (and probably members) which is
/// why they are in their own mapper
/// </summary>
internal class ContentPropertyModelMapper : MapperConfiguration
internal class ContentPropertyModelMapper : ModelMapperConfiguration
{
public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext)
public override void ConfigureMappings(IMapperConfiguration config, ApplicationContext applicationContext)
{
var lazyDataTypeService = new Lazy<IDataTypeService>(() => applicationContext.Services.DataTypeService);