Renames IHostingEnvironmentLifetime to IApplicationShutdownRegistry

This commit is contained in:
Shannon
2020-03-26 15:39:20 +11:00
parent 29293bd25a
commit f24cae51d8
24 changed files with 50 additions and 63 deletions

View File

@@ -42,7 +42,7 @@ namespace Umbraco.ModelsBuilder.Embedded
private static readonly string[] OurFiles = { "models.hash", "models.generated.cs", "all.generated.cs", "all.dll.path", "models.err" };
private readonly IModelsBuilderConfig _config;
private readonly IHostingEnvironmentLifetime _hostingLifetime;
private readonly IApplicationShutdownRegistry _hostingLifetime;
private readonly IIOHelper _ioHelper;
private readonly ModelsGenerationError _errors;
@@ -51,7 +51,7 @@ namespace Umbraco.ModelsBuilder.Embedded
IProfilingLogger logger,
IModelsBuilderConfig config,
IHostingEnvironment hostingEnvironment,
IHostingEnvironmentLifetime hostingLifetime,
IApplicationShutdownRegistry hostingLifetime,
IIOHelper ioHelper)
{
_umbracoServices = umbracoServices;