RegisterUnique

This commit is contained in:
Stephan
2018-11-29 10:35:16 +01:00
parent e9de6c1fc9
commit c6891c6c70
63 changed files with 520 additions and 602 deletions

View File

@@ -25,7 +25,7 @@ namespace Umbraco.Web
/// <summary>
/// Gets the application register.
/// </summary>
protected virtual IRegister GetContainer()
protected virtual IRegister GetRegister()
{
return RegisterFactory.Create();
}
@@ -58,11 +58,11 @@ namespace Umbraco.Web
{
// ******** THIS IS WHERE EVERYTHING BEGINS ********
// create the container for the application, and boot
// create the register for the application, and boot
// the boot manager is responsible for registrations
var container = GetContainer();
var register = GetRegister();
_runtime = GetRuntime();
_runtime.Boot(container);
_runtime.Boot(register);
}
// called by ASP.NET (auto event wireup) once per app domain