private static IEnumerable <IPublishedContent> ItemsAtRoot(IPublishedCache cache) => cache.GetAtRoot();
private static IEnumerable <IPublishedContent> ItemsAtRoot(IPublishedCache cache) { return(cache.GetAtRoot()); }
private static IEnumerable <IPublishedContent> ItemsAtRoot(IPublishedCache?cache) => cache?.GetAtRoot() ?? Array.Empty <IPublishedContent>();