Resvolution - MappingResolver

This commit is contained in:
Stephan
2016-08-17 11:50:38 +02:00
parent 648632bd36
commit aa8b8c7736
84 changed files with 382 additions and 417 deletions

View File

@@ -15,7 +15,6 @@ using Umbraco.Core.Manifest;
using Umbraco.Core.Models.Mapping;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.ObjectResolution;
using Umbraco.Core.Persistence.Mappers;
using Umbraco.Core.Persistence.Migrations;
using Umbraco.Core.Plugins;
using Umbraco.Core.PropertyEditors;
@@ -181,7 +180,6 @@ namespace Umbraco.Core
container.RegisterSingleton<ApplicationContext>();
container.Register<MediaFileSystem>(factory => FileSystemProviderManager.Current.GetFileSystemProvider<MediaFileSystem>());
}
/// <summary>
@@ -443,11 +441,6 @@ namespace Umbraco.Core
Container,
factory => new DatabaseServerMessenger(ApplicationContext, true, new DatabaseServerMessengerOptions()));
MappingResolver.Current = new MappingResolver(
Container, ProfilingLogger.Logger,
() => PluginManager.ResolveAssignedMapperTypes());
//RepositoryResolver.Current = new RepositoryResolver(
// new RepositoryFactory(ApplicationCache));