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)
21
services.
AddHybridCache
();
FunctionalTests.cs (1)
15
services.
AddHybridCache
();
L2Tests.cs (1)
40
services.
AddHybridCache
();
RedisTests.cs (1)
47
services.
AddHybridCache
();
SampleUsage.cs (3)
37
services.
AddHybridCache
();
57
services.
AddHybridCache
();
77
services.
AddHybridCache
();
ServiceConstructionTests.cs (9)
29
services.
AddHybridCache
();
90
services.
AddHybridCache
();
103
services.
AddHybridCache
();
116
services.
AddHybridCache
();
130
services.
AddHybridCache
().AddSerializer<Customer, CustomerSerializer>();
142
services.
AddHybridCache
().AddSerializerFactory<CustomFactory>();
165
services.
AddHybridCache
();
177
services.
AddHybridCache
();
200
services.
AddHybridCache
();
SizeTests.cs (2)
19
services.
AddHybridCache
();
64
services.
AddHybridCache
();