Ejemplo n.º 1
0
        public static IEnumerable <ICacheResult> GetAllEntriesUntyped([NotNull] this ICacheSection cacheSection)
        {
            cacheSection.AssertArgumentNotNull(nameof(cacheSection));

            var values = cacheSection
                         .Keys
                         .Select(key => cacheSection.GetCacheEntryUntyped(key))
                         .Where(cacheResult => cacheResult != null);

            return(values);
        }