diff --git a/src/Umbraco.Core/ObjectResolution/ResolverBase.cs b/src/Umbraco.Core/ObjectResolution/ResolverBase.cs index b1509d2b40..4b3b21082c 100644 --- a/src/Umbraco.Core/ObjectResolution/ResolverBase.cs +++ b/src/Umbraco.Core/ObjectResolution/ResolverBase.cs @@ -85,10 +85,9 @@ namespace Umbraco.Core.ObjectResolution } /// - /// Gets a value indicating whether a the singleton nstance has been set. + /// Gets a value indicating whether a the singleton instance has been set. /// - /// To be used in unit tests. - protected static bool HasCurrent + public static bool HasCurrent { get { @@ -102,9 +101,13 @@ namespace Umbraco.Core.ObjectResolution /// /// Resets the resolver singleton instance to null. /// - /// To be used in unit tests. - /// By default this is true because we always need to reset resolution before we reset a resolver, however in some insanely rare cases like unit testing you might not want to do this. - internal static void Reset(bool resetResolution = true) + /// + /// To be used in unit tests. DO NOT USE THIS DURING PRODUCTION. + /// + /// + /// By default this is true because we always need to reset resolution before we reset a resolver, however in some insanely rare cases like unit testing you might not want to do this. + /// + protected internal static void Reset(bool resetResolution = true) { //In order to reset a resolver, we always must reset the resolution