Rename DI to Composing

This commit is contained in:
Stephan
2017-05-30 15:46:25 +02:00
parent b251d23a57
commit 81234cd702
229 changed files with 265 additions and 265 deletions

View File

@@ -500,7 +500,7 @@ namespace Umbraco.Web
/// <param name="app"></param>
public void Init(HttpApplication app)
{
if (Core.DI.Current.RuntimeState.Level == RuntimeLevel.BootFailed)
if (Core.Composing.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.");
@@ -509,7 +509,7 @@ namespace Umbraco.Web
// modules are *not* instanciated by the container so we have to
// get our dependencies injected manually, through properties.
Core.DI.Current.Container.InjectProperties(this);
Core.Composing.Current.Container.InjectProperties(this);
app.BeginRequest += (sender, e) =>
{