Added a null check to IUmbracoHelperAccessor & IPublishedSnapshotAccessor

This commit is contained in:
Zeegaan
2021-08-10 10:55:29 +02:00
parent 3eb32a97a7
commit 5d264fefdb
28 changed files with 173 additions and 66 deletions

View File

@@ -1,7 +1,9 @@
using Umbraco.Cms.Infrastructure;
namespace Umbraco.Cms.Core
{
public interface IPublishedContentQueryAccessor
{
IPublishedContentQuery PublishedContentQuery { get;}
bool TryGetValue(out IPublishedContentQuery publishedContentQuery);
}
}