Great AppCaches renaming

This commit is contained in:
Stephan
2019-01-17 11:01:23 +01:00
parent 67e4703821
commit 0bee01e0ee
108 changed files with 1538 additions and 1440 deletions

View File

@@ -38,7 +38,7 @@ namespace Umbraco.Core.Scoping
/// <summary>
/// Gets the scope isolated cache.
/// </summary>
IsolatedRuntimeCache IsolatedRuntimeCache { get; }
IsolatedCaches IsolatedCaches { get; }
/// <summary>
/// Completes the scope.

View File

@@ -34,7 +34,7 @@ namespace Umbraco.Core.Scoping
private bool _disposed;
private bool? _completed;
private IsolatedRuntimeCache _isolatedRuntimeCache;
private IsolatedCaches _isolatedCaches;
private IUmbracoDatabase _database;
private EventMessages _messages;
private ICompletable _fscope;
@@ -177,14 +177,14 @@ namespace Umbraco.Core.Scoping
}
/// <inheritdoc />
public IsolatedRuntimeCache IsolatedRuntimeCache
public IsolatedCaches IsolatedCaches
{
get
{
if (ParentScope != null) return ParentScope.IsolatedRuntimeCache;
if (ParentScope != null) return ParentScope.IsolatedCaches;
return _isolatedRuntimeCache ?? (_isolatedRuntimeCache
= new IsolatedRuntimeCache(type => new DeepCloneRuntimeCacheProvider(new ObjectCacheRuntimeCacheProvider())));
return _isolatedCaches ?? (_isolatedCaches
= new IsolatedCaches(type => new DeepCloneAppCache(new ObjectCacheAppCache())));
}
}