Updated classes to use IOptionsMonitor or IOptionsSnapshot

This commit is contained in:
Nikolaj Geisle
2021-09-24 09:49:53 +02:00
parent 8c26a86a55
commit 8ce66277ce
42 changed files with 128 additions and 99 deletions

View File

@@ -54,7 +54,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
ILocalizedTextService localizedTextService,
IUmbracoMapper umbracoMapper,
IShortStringHelper shortStringHelper,
IOptions<GlobalSettings> globalSettings)
IOptionsSnapshot<GlobalSettings> globalSettings)
{
_hostingEnvironment = hostingEnvironment;
_fileSystems = fileSystems;