18 references to OutputCacheEntryFormatter
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheMiddleware.cs (2)
346cacheEntry = await _outputCacheEntryDispatcher.ScheduleAsync(cacheContext.CacheKey, (Store: _store, CacheContext: cacheContext), static async (key, state) => await OutputCacheEntryFormatter.GetAsync(key, state.Store, state.CacheContext.HttpContext.RequestAborted));
442await OutputCacheEntryFormatter.StoreAsync(context.CacheKey, context.CachedResponse, context.Tags, context.CachedResponseValidFor,
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (4)
EndToEndBenchmarks.cs (4)
130await OutputCacheEntryFormatter.StoreAsync(Key, entry, _tags, _options.DefaultExpirationTimeSpan, _store, NullLogger.Instance, CancellationToken.None);
146await OutputCacheEntryFormatter.StoreAsync(Key, entry, _tags, _options.DefaultExpirationTimeSpan, _store, NullLogger.Instance, CancellationToken.None);
163await OutputCacheEntryFormatter.StoreAsync(Key, entry, _tags, _options.DefaultExpirationTimeSpan, _store, NullLogger.Instance, CancellationToken.None);
174var entry = await OutputCacheEntryFormatter.GetAsync(Key, _store, CancellationToken.None);
Microsoft.AspNetCore.OutputCaching.Tests (11)
OutputCacheEntryFormatterTests.cs (8)
35await OutputCacheEntryFormatter.StoreAsync(key, entry, null, TimeSpan.Zero, store, NullLogger.Instance, default);
37var result = await OutputCacheEntryFormatter.GetAsync(key, store, default);
54await OutputCacheEntryFormatter.StoreAsync(key, entry, new HashSet<string>() { "tag", "タグ" }, TimeSpan.Zero, store, NullLogger.Instance, default);
55var result = await OutputCacheEntryFormatter.GetAsync(key, store, default);
72await OutputCacheEntryFormatter.StoreAsync(key, entry, null, TimeSpan.Zero, store, NullLogger.Instance, default);
79var result = await OutputCacheEntryFormatter.GetAsync(key, store, default);
98OutputCacheEntryFormatter.Deserialize(FromHex(KnownV1Payload)),
99OutputCacheEntryFormatter.Deserialize(FromHex(KnownV2Payload))