From 5110e0ec0e5ff5904e012b06a5039a12a2bc981d Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 24 Jan 2013 08:51:27 -0100 Subject: [PATCH] Web.Routing - go public --- src/Umbraco.Web/ContextualPublishedCacheExtensions.cs | 2 +- src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs | 2 +- .../PublishedCache/ContextualPublishedContentCache.cs | 4 ++-- .../PublishedCache/ContextualPublishedMediaCache.cs | 4 ++-- src/Umbraco.Web/PublishedCache/IPublishedCache.cs | 2 +- src/Umbraco.Web/Routing/AliasUrlProvider.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByIdPath.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByLegacy404.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByNiceUrl.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByNiceUrlAndTemplate.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByNotFoundHandler.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByNotFoundHandlers.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByPageIdQuery.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByProfile.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs | 2 +- src/Umbraco.Web/Routing/ContentFinderResolver.cs | 2 +- src/Umbraco.Web/Routing/ContentLastChanceFinderResolver.cs | 2 +- src/Umbraco.Web/Routing/DefaultUrlProvider.cs | 2 +- src/Umbraco.Web/Routing/DomainAndUri.cs | 2 +- src/Umbraco.Web/Routing/DomainHelper.cs | 4 ++-- src/Umbraco.Web/Routing/IContentFinder.cs | 2 +- src/Umbraco.Web/Routing/ISiteDomainHelper.cs | 2 +- src/Umbraco.Web/Routing/IUrlProvider.cs | 2 +- src/Umbraco.Web/Routing/PublishedContentRequest.cs | 4 ++-- src/Umbraco.Web/Routing/RoutingContext.cs | 2 +- src/Umbraco.Web/Routing/SiteDomainHelper.cs | 2 +- src/Umbraco.Web/Routing/SiteDomainHelperResolver.cs | 2 +- src/Umbraco.Web/Routing/UrlProvider.cs | 4 ++-- src/Umbraco.Web/Routing/UrlProviderMode.cs | 2 +- src/Umbraco.Web/Routing/UrlProviderResolver.cs | 2 +- src/Umbraco.Web/UmbracoContext.cs | 4 ++-- 31 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/Umbraco.Web/ContextualPublishedCacheExtensions.cs b/src/Umbraco.Web/ContextualPublishedCacheExtensions.cs index 2a75c79c14..cc832366a4 100644 --- a/src/Umbraco.Web/ContextualPublishedCacheExtensions.cs +++ b/src/Umbraco.Web/ContextualPublishedCacheExtensions.cs @@ -9,7 +9,7 @@ namespace Umbraco.Web /// /// Provides extension methods to ContextualPublishedCache. /// - internal static class ContextualPublishedCacheExtensions + public static class ContextualPublishedCacheExtensions { /// /// Gets a dynamic content identified by its unique identifier. diff --git a/src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs b/src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs index fbaf997a85..a20b5d8f76 100644 --- a/src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs +++ b/src/Umbraco.Web/PublishedCache/ContextualPublishedCache.cs @@ -10,7 +10,7 @@ namespace Umbraco.Web.PublishedCache /// /// Provides access to cached contents in a specified context. /// - internal abstract class ContextualPublishedCache + public abstract class ContextualPublishedCache { protected readonly UmbracoContext UmbracoContext; private readonly IPublishedCache _cache; diff --git a/src/Umbraco.Web/PublishedCache/ContextualPublishedContentCache.cs b/src/Umbraco.Web/PublishedCache/ContextualPublishedContentCache.cs index bdbd0265b5..86b4105368 100644 --- a/src/Umbraco.Web/PublishedCache/ContextualPublishedContentCache.cs +++ b/src/Umbraco.Web/PublishedCache/ContextualPublishedContentCache.cs @@ -9,7 +9,7 @@ namespace Umbraco.Web.PublishedCache /// /// Provides access to cached documents in a specified context. /// - internal class ContextualPublishedContentCache : ContextualPublishedCache + public class ContextualPublishedContentCache : ContextualPublishedCache { private readonly IPublishedContentCache _cache; @@ -18,7 +18,7 @@ namespace Umbraco.Web.PublishedCache /// /// A published content cache. /// A context. - public ContextualPublishedContentCache(IPublishedContentCache cache, UmbracoContext umbracoContext) + internal ContextualPublishedContentCache(IPublishedContentCache cache, UmbracoContext umbracoContext) : base(umbracoContext, cache) { _cache = cache; diff --git a/src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs b/src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs index c98cf5792c..bad55b4896 100644 --- a/src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs +++ b/src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs @@ -9,7 +9,7 @@ namespace Umbraco.Web.PublishedCache /// /// Provides access to cached medias in a specified context. /// - internal class ContextualPublishedMediaCache : ContextualPublishedCache + public class ContextualPublishedMediaCache : ContextualPublishedCache { private readonly IPublishedMediaCache _cache; @@ -18,7 +18,7 @@ namespace Umbraco.Web.PublishedCache /// /// A published media cache. /// A context. - public ContextualPublishedMediaCache(IPublishedMediaCache cache, UmbracoContext umbracoContext) + internal ContextualPublishedMediaCache(IPublishedMediaCache cache, UmbracoContext umbracoContext) : base(umbracoContext, cache) { _cache = cache; diff --git a/src/Umbraco.Web/PublishedCache/IPublishedCache.cs b/src/Umbraco.Web/PublishedCache/IPublishedCache.cs index cee82a0dbc..c0a25e47fd 100644 --- a/src/Umbraco.Web/PublishedCache/IPublishedCache.cs +++ b/src/Umbraco.Web/PublishedCache/IPublishedCache.cs @@ -14,7 +14,7 @@ namespace Umbraco.Web.PublishedCache /// [UmbracoExperimentalFeature("http://issues.umbraco.org/issue/U4-1153", "We need to create something like the IPublishListener interface to have proper published content storage.")] - internal interface IPublishedCache + public interface IPublishedCache { /// /// Gets a content identified by its unique identifier. diff --git a/src/Umbraco.Web/Routing/AliasUrlProvider.cs b/src/Umbraco.Web/Routing/AliasUrlProvider.cs index 8ef14d86d2..f8e270a16c 100644 --- a/src/Umbraco.Web/Routing/AliasUrlProvider.cs +++ b/src/Umbraco.Web/Routing/AliasUrlProvider.cs @@ -9,7 +9,7 @@ namespace Umbraco.Web.Routing /// /// Provides urls using the umbracoUrlAlias property. /// - internal class AliasUrlProvider : IUrlProvider + public class AliasUrlProvider : IUrlProvider { // note - at the moment we seem to accept pretty much anything as an alias // without any form of validation ... could even prob. kill the XPath ... diff --git a/src/Umbraco.Web/Routing/ContentFinderByIdPath.cs b/src/Umbraco.Web/Routing/ContentFinderByIdPath.cs index 5de138efed..9bae24c5dd 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByIdPath.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByIdPath.cs @@ -11,7 +11,7 @@ namespace Umbraco.Web.Routing /// /// Handles /1234 where 1234 is the identified of a document. /// - internal class ContentFinderByIdPath : IContentFinder + public class ContentFinderByIdPath : IContentFinder { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderByLegacy404.cs b/src/Umbraco.Web/Routing/ContentFinderByLegacy404.cs index cf1978c323..1181ac3195 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByLegacy404.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByLegacy404.cs @@ -6,7 +6,7 @@ namespace Umbraco.Web.Routing /// /// Provides an implementation of that runs the legacy 404 logic. /// - internal class ContentFinderByLegacy404 : IContentFinder + public class ContentFinderByLegacy404 : IContentFinder { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderByNiceUrl.cs b/src/Umbraco.Web/Routing/ContentFinderByNiceUrl.cs index 1d2e5c679a..529d027ea1 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByNiceUrl.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByNiceUrl.cs @@ -10,7 +10,7 @@ namespace Umbraco.Web.Routing /// /// Handles /foo/bar where /foo/bar is the nice url of a document. /// - internal class ContentFinderByNiceUrl : IContentFinder + public class ContentFinderByNiceUrl : IContentFinder { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderByNiceUrlAndTemplate.cs b/src/Umbraco.Web/Routing/ContentFinderByNiceUrlAndTemplate.cs index 66ef9b7b60..21fd81a8e4 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByNiceUrlAndTemplate.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByNiceUrlAndTemplate.cs @@ -11,7 +11,7 @@ namespace Umbraco.Web.Routing /// Handles /foo/bar/template where /foo/bar is the nice url of a document, and template a template alias. /// If successful, then the template of the document request is also assigned. /// - internal class ContentFinderByNiceUrlAndTemplate : ContentFinderByNiceUrl + public class ContentFinderByNiceUrlAndTemplate : ContentFinderByNiceUrl { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandler.cs b/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandler.cs index e4ab58fa36..3231186014 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandler.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandler.cs @@ -8,7 +8,7 @@ namespace Umbraco.Web.Routing /// Provides an implementation of that runs a legacy NotFoundHandler. /// /// Provided for backward compatibility. - internal class ContentFinderByNotFoundHandler : IContentFinder + public class ContentFinderByNotFoundHandler : IContentFinder { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandlers.cs b/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandlers.cs index 19c056a587..6c10a45dd7 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandlers.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByNotFoundHandlers.cs @@ -8,7 +8,7 @@ namespace Umbraco.Web.Routing /// /// Provides an implementation of that runs legacy INotFoundHandler. /// - internal class ContentFinderByNotFoundHandlers : IContentFinder + public class ContentFinderByNotFoundHandlers : IContentFinder { // notes // diff --git a/src/Umbraco.Web/Routing/ContentFinderByPageIdQuery.cs b/src/Umbraco.Web/Routing/ContentFinderByPageIdQuery.cs index 29c6650672..4732895311 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByPageIdQuery.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByPageIdQuery.cs @@ -7,7 +7,7 @@ namespace Umbraco.Web.Routing /// This is used by library.RenderTemplate and also some of the macro rendering functionality like in /// insertMacro.aspx and macroResultWrapper.aspx /// - internal class ContentFinderByPageIdQuery : IContentFinder + public class ContentFinderByPageIdQuery : IContentFinder { public bool TryFindContent(PublishedContentRequest docRequest) { diff --git a/src/Umbraco.Web/Routing/ContentFinderByProfile.cs b/src/Umbraco.Web/Routing/ContentFinderByProfile.cs index d637f24a71..4dfe8a1da6 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByProfile.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByProfile.cs @@ -13,7 +13,7 @@ namespace Umbraco.Web.Routing /// This should rather be done with a rewriting rule. There would be multiple profile pages in multi-sites/multi-langs setups. /// We keep it for backward compatility reasons. /// - internal class ContentFinderByProfile : ContentFinderByNiceUrl + public class ContentFinderByProfile : ContentFinderByNiceUrl { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs b/src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs index 05e5b2c168..8779ce0100 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs @@ -16,7 +16,7 @@ namespace Umbraco.Web.Routing /// Handles /just/about/anything where /just/about/anything is contained in the umbracoUrlAlias property of a document. /// The alias is the full path to the document. There can be more than one alias, separated by commas. /// - internal class ContentFinderByUrlAlias : IContentFinder + public class ContentFinderByUrlAlias : IContentFinder { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ContentFinderResolver.cs b/src/Umbraco.Web/Routing/ContentFinderResolver.cs index e2962be817..78dcbda899 100644 --- a/src/Umbraco.Web/Routing/ContentFinderResolver.cs +++ b/src/Umbraco.Web/Routing/ContentFinderResolver.cs @@ -7,7 +7,7 @@ namespace Umbraco.Web.Routing /// /// Resolves IPublishedContentFinder objects. /// - internal sealed class ContentFinderResolver : ManyObjectsResolverBase + public sealed class ContentFinderResolver : ManyObjectsResolverBase { /// /// Initializes a new instance of the class with an initial list of finder types. diff --git a/src/Umbraco.Web/Routing/ContentLastChanceFinderResolver.cs b/src/Umbraco.Web/Routing/ContentLastChanceFinderResolver.cs index a0c386297c..7e1faf6daf 100644 --- a/src/Umbraco.Web/Routing/ContentLastChanceFinderResolver.cs +++ b/src/Umbraco.Web/Routing/ContentLastChanceFinderResolver.cs @@ -6,7 +6,7 @@ namespace Umbraco.Web.Routing /// /// Resolves the last chance IPublishedContentFinder object. /// - internal sealed class ContentLastChanceFinderResolver : SingleObjectResolverBase + public sealed class ContentLastChanceFinderResolver : SingleObjectResolverBase { /// /// Initializes a new instance of the class with no finder. diff --git a/src/Umbraco.Web/Routing/DefaultUrlProvider.cs b/src/Umbraco.Web/Routing/DefaultUrlProvider.cs index b6ff0f33bc..a2285ddc74 100644 --- a/src/Umbraco.Web/Routing/DefaultUrlProvider.cs +++ b/src/Umbraco.Web/Routing/DefaultUrlProvider.cs @@ -13,7 +13,7 @@ namespace Umbraco.Web.Routing /// /// Provides urls. /// - internal class DefaultUrlProvider : IUrlProvider + public class DefaultUrlProvider : IUrlProvider { #region GetUrl diff --git a/src/Umbraco.Web/Routing/DomainAndUri.cs b/src/Umbraco.Web/Routing/DomainAndUri.cs index db7eecf5af..ba13508812 100644 --- a/src/Umbraco.Web/Routing/DomainAndUri.cs +++ b/src/Umbraco.Web/Routing/DomainAndUri.cs @@ -10,7 +10,7 @@ namespace Umbraco.Web.Routing /// In Umbraco it is valid to create domains with name such as example.com, https://www.example.com, example.com/foo/. /// The normalized uri of a domain begins with a scheme and ends with no slash, eg http://example.com/, https://www.example.com/, http://example.com/foo/. /// - internal class DomainAndUri + public class DomainAndUri { /// /// Initializes a new instance of the class with a Domain and a uri scheme. diff --git a/src/Umbraco.Web/Routing/DomainHelper.cs b/src/Umbraco.Web/Routing/DomainHelper.cs index 2aefcdb8fb..85a1c5f66f 100644 --- a/src/Umbraco.Web/Routing/DomainHelper.cs +++ b/src/Umbraco.Web/Routing/DomainHelper.cs @@ -10,7 +10,7 @@ namespace Umbraco.Web.Routing /// /// Provides utilities to handle domains. /// - internal class DomainHelper + public class DomainHelper { #region Temp. abstract Umbraco's API @@ -272,7 +272,7 @@ namespace Umbraco.Web.Routing /// The full path of the uri. /// The path part relative to the uri of the domain. /// Eg the relative part of /foo/bar/nil to domain example.com/foo is /bar/nil. - internal static string PathRelativeToDomain(Uri domainUri, string path) + public static string PathRelativeToDomain(Uri domainUri, string path) { return path.Substring(domainUri.AbsolutePath.Length).EnsureStartsWith('/'); } diff --git a/src/Umbraco.Web/Routing/IContentFinder.cs b/src/Umbraco.Web/Routing/IContentFinder.cs index c71ddd0c34..c29df43465 100644 --- a/src/Umbraco.Web/Routing/IContentFinder.cs +++ b/src/Umbraco.Web/Routing/IContentFinder.cs @@ -3,7 +3,7 @@ namespace Umbraco.Web.Routing /// /// Provides a method to try to find and assign an Umbraco document to a PublishedContentRequest. /// - internal interface IContentFinder + public interface IContentFinder { /// /// Tries to find and assign an Umbraco document to a PublishedContentRequest. diff --git a/src/Umbraco.Web/Routing/ISiteDomainHelper.cs b/src/Umbraco.Web/Routing/ISiteDomainHelper.cs index b290c9b1c1..482cbba4a9 100644 --- a/src/Umbraco.Web/Routing/ISiteDomainHelper.cs +++ b/src/Umbraco.Web/Routing/ISiteDomainHelper.cs @@ -8,7 +8,7 @@ namespace Umbraco.Web.Routing /// /// Provides utilities to handle site domains. /// - internal interface ISiteDomainHelper + public interface ISiteDomainHelper { /// /// Filters a list of DomainAndUri to pick one that best matches the current request. diff --git a/src/Umbraco.Web/Routing/IUrlProvider.cs b/src/Umbraco.Web/Routing/IUrlProvider.cs index b8abeadd54..79b27f888a 100644 --- a/src/Umbraco.Web/Routing/IUrlProvider.cs +++ b/src/Umbraco.Web/Routing/IUrlProvider.cs @@ -7,7 +7,7 @@ namespace Umbraco.Web.Routing /// /// Provides urls. /// - internal interface IUrlProvider + public interface IUrlProvider { /// /// Gets the nice url of a published content. diff --git a/src/Umbraco.Web/Routing/PublishedContentRequest.cs b/src/Umbraco.Web/Routing/PublishedContentRequest.cs index 947fbf37aa..5698b36b1c 100644 --- a/src/Umbraco.Web/Routing/PublishedContentRequest.cs +++ b/src/Umbraco.Web/Routing/PublishedContentRequest.cs @@ -13,7 +13,7 @@ namespace Umbraco.Web.Routing /// Represents a request for one specified Umbraco IPublishedContent to be rendered /// by one specified template, using one specified Culture and RenderingEngine. /// - internal class PublishedContentRequest + public class PublishedContentRequest { /// /// Triggers once the published content request has been prepared, but before it is processed. @@ -33,7 +33,7 @@ namespace Umbraco.Web.Routing /// /// The request Uri. /// A routing context. - public PublishedContentRequest(Uri uri, RoutingContext routingContext) + internal PublishedContentRequest(Uri uri, RoutingContext routingContext) { if (uri == null) throw new ArgumentNullException("uri"); if (routingContext == null) throw new ArgumentNullException("routingContext"); diff --git a/src/Umbraco.Web/Routing/RoutingContext.cs b/src/Umbraco.Web/Routing/RoutingContext.cs index d332d499eb..bb52a43193 100644 --- a/src/Umbraco.Web/Routing/RoutingContext.cs +++ b/src/Umbraco.Web/Routing/RoutingContext.cs @@ -46,6 +46,6 @@ namespace Umbraco.Web.Routing /// /// Gets the urls provider. /// - internal UrlProvider UrlProvider { get; private set; } + public UrlProvider UrlProvider { get; private set; } } } \ No newline at end of file diff --git a/src/Umbraco.Web/Routing/SiteDomainHelper.cs b/src/Umbraco.Web/Routing/SiteDomainHelper.cs index ea035fa061..d56bd5844b 100644 --- a/src/Umbraco.Web/Routing/SiteDomainHelper.cs +++ b/src/Umbraco.Web/Routing/SiteDomainHelper.cs @@ -11,7 +11,7 @@ namespace Umbraco.Web.Routing /// /// Provides utilities to handle site domains. /// - internal class SiteDomainHelper : ISiteDomainHelper + public class SiteDomainHelper : ISiteDomainHelper { #region Configure diff --git a/src/Umbraco.Web/Routing/SiteDomainHelperResolver.cs b/src/Umbraco.Web/Routing/SiteDomainHelperResolver.cs index 9cb101b6b1..daf1d932d8 100644 --- a/src/Umbraco.Web/Routing/SiteDomainHelperResolver.cs +++ b/src/Umbraco.Web/Routing/SiteDomainHelperResolver.cs @@ -6,7 +6,7 @@ namespace Umbraco.Web.Routing /// /// Resolves the implementation. /// - internal sealed class SiteDomainHelperResolver : SingleObjectResolverBase + public sealed class SiteDomainHelperResolver : SingleObjectResolverBase { /// diff --git a/src/Umbraco.Web/Routing/UrlProvider.cs b/src/Umbraco.Web/Routing/UrlProvider.cs index 6746d55f72..62d4142ec6 100644 --- a/src/Umbraco.Web/Routing/UrlProvider.cs +++ b/src/Umbraco.Web/Routing/UrlProvider.cs @@ -9,7 +9,7 @@ namespace Umbraco.Web.Routing /// /// Provides urls. /// - internal class UrlProvider + public class UrlProvider { #region Ctor and configuration @@ -18,7 +18,7 @@ namespace Umbraco.Web.Routing /// /// The Umbraco context. /// The list of url providers. - public UrlProvider(UmbracoContext umbracoContext, IEnumerable urlProviders) + internal UrlProvider(UmbracoContext umbracoContext, IEnumerable urlProviders) { _umbracoContext = umbracoContext; _urlProviders = urlProviders; diff --git a/src/Umbraco.Web/Routing/UrlProviderMode.cs b/src/Umbraco.Web/Routing/UrlProviderMode.cs index 8a26eac0c2..9ca1b9f32a 100644 --- a/src/Umbraco.Web/Routing/UrlProviderMode.cs +++ b/src/Umbraco.Web/Routing/UrlProviderMode.cs @@ -10,7 +10,7 @@ /// the true, pre-4.10, always-relative behavior of Umbraco. /// For the time being, the default option is AutoLegacy although in the future it will be Auto. /// - internal enum UrlProviderMode + public enum UrlProviderMode { /// /// Indicates that the url provider should determine automatically whether to return relative or absolute urls, diff --git a/src/Umbraco.Web/Routing/UrlProviderResolver.cs b/src/Umbraco.Web/Routing/UrlProviderResolver.cs index bdbcf96c55..0cd0346cd9 100644 --- a/src/Umbraco.Web/Routing/UrlProviderResolver.cs +++ b/src/Umbraco.Web/Routing/UrlProviderResolver.cs @@ -10,7 +10,7 @@ namespace Umbraco.Web.Routing /// /// Resolves IUrlProvider objects. /// - internal sealed class UrlProviderResolver : ManyObjectsResolverBase + public sealed class UrlProviderResolver : ManyObjectsResolverBase { /// /// Initializes a new instance of the class with an initial list of provider types. diff --git a/src/Umbraco.Web/UmbracoContext.cs b/src/Umbraco.Web/UmbracoContext.cs index 5fd1f249da..7bc3cee4ae 100644 --- a/src/Umbraco.Web/UmbracoContext.cs +++ b/src/Umbraco.Web/UmbracoContext.cs @@ -223,12 +223,12 @@ namespace Umbraco.Web /// /// Gets or sets the published content cache. /// - internal ContextualPublishedContentCache ContentCache { get; private set; } + public ContextualPublishedContentCache ContentCache { get; private set; } /// /// Gets or sets the published media cache. /// - internal ContextualPublishedMediaCache MediaCache { get; private set; } + public ContextualPublishedMediaCache MediaCache { get; private set; } /// /// Boolean value indicating whether the current request is a front-end umbraco request