20 references to AddHybridCache
Microsoft.Extensions.Caching.Hybrid (2)
HybridCacheServiceExtensions.cs (1)
24_ = AddHybridCache(services);
Internal\DefaultHybridCache.cs (1)
21/// The inbuilt implementation of <see cref="HybridCache"/>, as registered via <see cref="HybridCacheServiceExtensions.AddHybridCache(IServiceCollection)"/>.
Microsoft.Extensions.Caching.Hybrid.Tests (18)
BufferReleaseTests.cs (1)
21services.AddHybridCache();
FunctionalTests.cs (1)
15services.AddHybridCache();
L2Tests.cs (1)
40services.AddHybridCache();
RedisTests.cs (1)
47services.AddHybridCache();
SampleUsage.cs (3)
37services.AddHybridCache(); 57services.AddHybridCache(); 77services.AddHybridCache();
ServiceConstructionTests.cs (9)
29services.AddHybridCache(); 90services.AddHybridCache(); 103services.AddHybridCache(); 116services.AddHybridCache(); 130services.AddHybridCache().AddSerializer<Customer, CustomerSerializer>(); 142services.AddHybridCache().AddSerializerFactory<CustomFactory>(); 165services.AddHybridCache(); 177services.AddHybridCache(); 200services.AddHybridCache();
SizeTests.cs (2)
19services.AddHybridCache(); 64services.AddHybridCache();