public async Task PopulateContextEntriesAsync(IEnumerable <string> contexts, List <CacheContextEntry> entries)
        {
            if (contexts.Any(ctx => String.Equals(ctx, "types", StringComparison.OrdinalIgnoreCase)))
            {
                var hash = await _contentDefinitionManager.GetTypesHashAsync();

                // Add a hash of the enabled features
                entries.Add(new CacheContextEntry("types", hash.ToString(CultureInfo.InvariantCulture)));

                return;
            }
        }