NuCache+Scope add scope lock to ContentStore

This commit is contained in:
Stephan
2017-07-17 10:48:48 +02:00
parent 6d02ad3ce8
commit c8052def7a
3 changed files with 295 additions and 206 deletions

View File

@@ -13,6 +13,10 @@ namespace Umbraco.Web.PublishedCache.NuCache
public bool IsEmpty => Node == null;
public bool IsNull => ContentTypeId < 0;
public static ContentNodeKit Null { get; } = new ContentNodeKit { ContentTypeId = -1 };
public void Build(PublishedContentType contentType, IFacadeAccessor facadeAccessor)
{
Node.SetContentTypeAndData(contentType, DraftData, PublishedData, facadeAccessor);