Move UmbracoConfig singleton to Current
This commit is contained in:
@@ -10,6 +10,7 @@ using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models.PublishedContent;
|
||||
using Umbraco.Core.Persistence;
|
||||
using Umbraco.Core.Composing;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.PropertyEditors;
|
||||
using Umbraco.Core.Scoping;
|
||||
using Umbraco.Core.Services;
|
||||
@@ -200,6 +201,8 @@ namespace Umbraco.Web.Composing
|
||||
|
||||
public static TypeLoader TypeLoader => CoreCurrent.TypeLoader;
|
||||
|
||||
public static UmbracoConfig Config => CoreCurrent.Config;
|
||||
|
||||
public static UrlSegmentProviderCollection UrlSegmentProviders => CoreCurrent.UrlSegmentProviders;
|
||||
|
||||
public static CacheRefresherCollection CacheRefreshers => CoreCurrent.CacheRefreshers;
|
||||
|
||||
Reference in New Issue
Block a user