protected override IEnumerable<DictionaryEntry> GetDictionaryEntries() { const string prefix = CacheItemPrefix + "-"; if (HasContextItems == false) return Enumerable.Empty<DictionaryEntry>(); return ContextItems.Cast<DictionaryEntry>() .Where(x => x.Key is string && ((string)x.Key).StartsWith(prefix)); }