Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
Further amends to return to booting application.
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Umbraco.ModelsBuilder.Embedded
|
||||
public PureLiveModelFactory(
|
||||
Lazy<UmbracoServices> umbracoServices,
|
||||
IProfilingLogger logger,
|
||||
IOptionsSnapshot<ModelsBuilderConfig> config,
|
||||
IOptions<ModelsBuilderConfig> config,
|
||||
IHostingEnvironment hostingEnvironment,
|
||||
IApplicationShutdownRegistry hostingLifetime,
|
||||
IIOHelper ioHelper)
|
||||
|
||||
Reference in New Issue
Block a user