4 references to InitAsync
Microsoft.Extensions.Caching.Hybrid.Tests (4)
DistributedCacheTests.cs (4)
60var cache = (await InitAsync()).BuildServiceProvider().GetService<IDistributedCache>(); 106var cache = (await InitAsync()).BuildServiceProvider().GetService<IDistributedCache>(); 172var cache = (await InitAsync()).BuildServiceProvider().GetService<IDistributedCache>() as IBufferDistributedCache; 234var cache = (await InitAsync()).BuildServiceProvider().GetService<IDistributedCache>() as IBufferDistributedCache;