Updated 13 classes with new TryGetUmbracoContext

This commit is contained in:
Zeegaan
2021-08-11 11:06:55 +02:00
parent e9908e341f
commit 261b93f7be
13 changed files with 142 additions and 65 deletions

View File

@@ -17,5 +17,11 @@ namespace Umbraco.Cms.Tests.Common
{
UmbracoContext = umbracoContext;
}
public bool TryGetUmbracoContext(out IUmbracoContext umbracoContext)
{
umbracoContext = UmbracoContext;
return umbracoContext is not null;
}
}
}