View Source
Class Current
Provides a static service locator for most singletons.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class Current
Properties
View Source
AppCaches
Declaration
public static AppCaches AppCaches { get; }
Property Value
View Source
CacheRefreshers
Declaration
public static CacheRefresherCollection CacheRefreshers { get; }
Property Value
View Source
Configs
Declaration
public static Configs Configs { get; }
Property Value
View Source
CultureDictionaryFactory
Declaration
public static ICultureDictionaryFactory CultureDictionaryFactory { get; }
Property Value
View Source
DataEditors
Declaration
public static DataEditorCollection DataEditors { get; }
Property Value
View Source
DataValueReferenceFactories
Declaration
public static DataValueReferenceFactoryCollection DataValueReferenceFactories { get; }
Property Value
View Source
Factory
Gets or sets the factory.
Declaration
public static IFactory Factory { get; set; }
Property Value
View Source
FileSystems
Declaration
public static IFileSystems FileSystems { get; }
Property Value
View Source
ImageUrlGenerator
Declaration
public static IImageUrlGenerator ImageUrlGenerator { get; }
Property Value
View Source
Logger
Declaration
public static ILogger Logger { get; }
Property Value
View Source
Mapper
Declaration
public static UmbracoMapper Mapper { get; }
Property Value
View Source
Declaration
public static IMediaFileSystem MediaFileSystem { get; }
Property Value
View Source
ParameterEditors
Declaration
public static ParameterEditorCollection ParameterEditors { get; }
Property Value
View Source
Profiler
Declaration
public static IProfiler Profiler { get; }
Property Value
View Source
ProfilingLogger
Declaration
public static IProfilingLogger ProfilingLogger { get; }
Property Value
View Source
PropertyEditors
Declaration
public static PropertyEditorCollection PropertyEditors { get; }
Property Value
View Source
PublishedContentTypeFactory
Declaration
public static IPublishedContentTypeFactory PublishedContentTypeFactory { get; }
Property Value
View Source
PublishedValueFallback
Declaration
public static IPublishedValueFallback PublishedValueFallback { get; }
Property Value
View Source
RuntimeState
Declaration
public static IRuntimeState RuntimeState { get; }
Property Value
View Source
ScopeProvider
Declaration
public static IScopeProvider ScopeProvider { get; }
Property Value
View Source
ServerMessenger
Declaration
public static IServerMessenger ServerMessenger { get; }
Property Value
View Source
ServerRegistrar
Declaration
public static IServerRegistrar ServerRegistrar { get; }
Property Value
View Source
Services
Declaration
public static ServiceContext Services { get; }
Property Value
View Source
ShortStringHelper
Declaration
public static IShortStringHelper ShortStringHelper { get; }
Property Value
View Source
SqlContext
Declaration
public static ISqlContext SqlContext { get; }
Property Value
View Source
TypeLoader
Declaration
public static TypeLoader TypeLoader { get; }
Property Value
View Source
UrlSegmentProviders
Declaration
public static UrlSegmentProviderCollection UrlSegmentProviders { get; }
Property Value
View Source
VariationContextAccessor
Declaration
public static IVariationContextAccessor VariationContextAccessor { get; }
Property Value
Methods
View Source
Reset()
Resets Current. Indented for testing only, and not supported in production code.
Declaration
public static void Reset()
View Source
UnlockConfigs()
Unlocks Configs. Intended for testing only, and not supported in production code.
Declaration
public static void UnlockConfigs()