Rename DependencyInjection into DI, cleanup components, compose

This commit is contained in:
Stephan
2016-10-07 14:34:55 +02:00
parent 172ae81924
commit a00ee8d275
232 changed files with 1119 additions and 589 deletions

View File

@@ -7,7 +7,7 @@ using Semver;
using Umbraco.Core.Cache;
using Umbraco.Core.Components;
using Umbraco.Core.Configuration;
using Umbraco.Core.DependencyInjection;
using Umbraco.Core.DI;
using Umbraco.Core.Exceptions;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
@@ -201,7 +201,7 @@ namespace Umbraco.Core
// register persistence mappers - means the only place the collection can be modified
// is in a runtime - afterwards it has been frozen and it is too late
MapperCollectionBuilder.Register(container)
container.RegisterCollectionBuilder<MapperCollectionBuilder>()
.Add(f => f.GetInstance<PluginManager>().ResolveAssignedMapperTypes());
// register database factory