Removes new namespaces: Umbraco.Core.Cookie, Umbraco.Core.Session, Umbraco.Core.Request, these are web things and should be part of one namespace
This commit is contained in:
@@ -11,7 +11,6 @@ using Umbraco.Core.Persistence;
|
||||
using Umbraco.Core.Persistence.Dtos;
|
||||
using Umbraco.Core.Scoping;
|
||||
using Umbraco.Core.Hosting;
|
||||
using Umbraco.Core.Request;
|
||||
|
||||
namespace Umbraco.Web
|
||||
{
|
||||
|
||||
@@ -4,7 +4,6 @@ using Umbraco.Core;
|
||||
using Umbraco.Core.Composing;
|
||||
using Umbraco.Core.Hosting;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Request;
|
||||
using Umbraco.Core.Services;
|
||||
using Umbraco.Core.Services.Changes;
|
||||
using Umbraco.Core.Sync;
|
||||
|
||||
@@ -5,7 +5,6 @@ using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.Cookie;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Migrations.Install;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Cookie;
|
||||
using Umbraco.Core.Migrations;
|
||||
|
||||
namespace Umbraco.Web.Migrations.PostMigrations
|
||||
|
||||
@@ -9,7 +9,6 @@ using Umbraco.Core.Configuration.UmbracoSettings;
|
||||
using Umbraco.Core.Hosting;
|
||||
using Umbraco.Core.IO;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Request;
|
||||
using Umbraco.Core.Scoping;
|
||||
using Umbraco.Core.Services;
|
||||
using Umbraco.Core.Sync;
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
namespace Umbraco.Core.Scoping
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the cache mode of repositories.
|
||||
/// </summary>
|
||||
public enum RepositoryCacheMode
|
||||
{
|
||||
/// <summary>
|
||||
/// Unspecified.
|
||||
/// </summary>
|
||||
Unspecified = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Default, full L2 cache.
|
||||
/// </summary>
|
||||
Default = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Scoped cache.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>Reads from, and writes to, a scope-local cache.</para>
|
||||
/// <para>Upon scope completion, clears the global L2 cache.</para>
|
||||
/// </remarks>
|
||||
Scoped = 2,
|
||||
|
||||
/// <summary>
|
||||
/// No cache.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>Bypasses caches entirely.</para>
|
||||
/// <para>Upon scope completion, clears the global L2 cache.</para>
|
||||
/// </remarks>
|
||||
None = 3
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user