Anders Bjerner
08/21/2023, 8:01 AMIUmbracoContext
has a number of nullable properties, including Content
and Media
for the content cache and media cache respectively.
https://github.com/umbraco/Umbraco-CMS/blob/contrib/src/Umbraco.Core/Web/IUmbracoContext.cs#L37-L42
I've never experienced these being null, and I can find any information on in which situations they can be null. Anyone with a bit of insight into this?