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

@@ -483,7 +483,7 @@ namespace Umbraco.Web
/// <param name="app"></param>
public void Init(HttpApplication app)
{
if (Core.DependencyInjection.Current.RuntimeState.Level == RuntimeLevel.BootFailed)
if (Core.DI.Current.RuntimeState.Level == RuntimeLevel.BootFailed)
{
// there's nothing we can do really
app.BeginRequest += (sender, args) => { throw new BootFailedException("Boot failed. Umbraco cannot run. Umbraco's log file contains details about what caused the boot to fail."); };
@@ -492,7 +492,7 @@ namespace Umbraco.Web
// modules are *not* instanciated by the container so we have to
// get our dependencies injected manually, through properties.
Core.DependencyInjection.Current.Container.InjectProperties(this);
Core.DI.Current.Container.InjectProperties(this);
app.BeginRequest += (sender, e) =>
{