Facade - Cleanup access to 'current'

This commit is contained in:
Stephan
2016-05-30 19:54:36 +02:00
parent bc45dd8d6a
commit 7c5542dca3
40 changed files with 384 additions and 348 deletions

View File

@@ -11,11 +11,11 @@ namespace Umbraco.Web.PublishedCache.NuCache
public ContentData DraftData;
public ContentData PublishedData;
public bool IsEmpty { get { return Node == null; } }
public bool IsEmpty => Node == null;
public void Build(PublishedContentType contentType)
public void Build(PublishedContentType contentType, IFacadeAccessor facadeAccessor)
{
Node.SetContentTypeAndData(contentType, DraftData, PublishedData);
Node.SetContentTypeAndData(contentType, DraftData, PublishedData, facadeAccessor);
}
}
}