Rename DI to Composing
This commit is contained in:
@@ -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) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user