From db216e43b7708d69345687a7c454195d9a67341b Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 8 Nov 2019 15:00:15 +1100 Subject: [PATCH] Moves the WebCachingAppCache to the web project --- src/Umbraco.Core/Umbraco.Core.csproj | 1 - src/Umbraco.Tests/Cache/DeepCloneAppCacheTests.cs | 1 + src/Umbraco.Tests/Cache/WebCachingAppCacheTests.cs | 1 + src/{Umbraco.Core => Umbraco.Web}/Cache/WebCachingAppCache.cs | 4 +++- src/Umbraco.Web/Runtime/WebRuntime.cs | 1 + src/Umbraco.Web/Umbraco.Web.csproj | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) rename src/{Umbraco.Core => Umbraco.Web}/Cache/WebCachingAppCache.cs (99%) diff --git a/src/Umbraco.Core/Umbraco.Core.csproj b/src/Umbraco.Core/Umbraco.Core.csproj index 76460493c8..bfffc037ce 100755 --- a/src/Umbraco.Core/Umbraco.Core.csproj +++ b/src/Umbraco.Core/Umbraco.Core.csproj @@ -127,7 +127,6 @@ - diff --git a/src/Umbraco.Tests/Cache/DeepCloneAppCacheTests.cs b/src/Umbraco.Tests/Cache/DeepCloneAppCacheTests.cs index 13fabe5ca2..c17d29a88f 100644 --- a/src/Umbraco.Tests/Cache/DeepCloneAppCacheTests.cs +++ b/src/Umbraco.Tests/Cache/DeepCloneAppCacheTests.cs @@ -9,6 +9,7 @@ using Umbraco.Core.Collections; using Umbraco.Core.Models; using Umbraco.Core.Models.Entities; using Umbraco.Tests.Collections; +using Umbraco.Web.Cache; namespace Umbraco.Tests.Cache { diff --git a/src/Umbraco.Tests/Cache/WebCachingAppCacheTests.cs b/src/Umbraco.Tests/Cache/WebCachingAppCacheTests.cs index e732ae5766..84a946036a 100644 --- a/src/Umbraco.Tests/Cache/WebCachingAppCacheTests.cs +++ b/src/Umbraco.Tests/Cache/WebCachingAppCacheTests.cs @@ -3,6 +3,7 @@ using System.Diagnostics; using System.Web; using NUnit.Framework; using Umbraco.Core.Cache; +using Umbraco.Web.Cache; namespace Umbraco.Tests.Cache { diff --git a/src/Umbraco.Core/Cache/WebCachingAppCache.cs b/src/Umbraco.Web/Cache/WebCachingAppCache.cs similarity index 99% rename from src/Umbraco.Core/Cache/WebCachingAppCache.cs rename to src/Umbraco.Web/Cache/WebCachingAppCache.cs index 362df8f603..3d169699f0 100644 --- a/src/Umbraco.Core/Cache/WebCachingAppCache.cs +++ b/src/Umbraco.Web/Cache/WebCachingAppCache.cs @@ -4,8 +4,10 @@ using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web.Caching; +using Umbraco.Core; +using Umbraco.Core.Cache; -namespace Umbraco.Core.Cache +namespace Umbraco.Web.Cache { /// /// Implements on top of a . diff --git a/src/Umbraco.Web/Runtime/WebRuntime.cs b/src/Umbraco.Web/Runtime/WebRuntime.cs index afbaa36cb4..09446e1dab 100644 --- a/src/Umbraco.Web/Runtime/WebRuntime.cs +++ b/src/Umbraco.Web/Runtime/WebRuntime.cs @@ -4,6 +4,7 @@ using Umbraco.Core.Composing; using Umbraco.Core.Configuration; using Umbraco.Core.Logging; using Umbraco.Core.Runtime; +using Umbraco.Web.Cache; using Umbraco.Web.Logging; namespace Umbraco.Web.Runtime diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 317786b970..7097b0e6f5 100755 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -131,6 +131,7 @@ +