1 instantiation of SqlServerCache
Microsoft.Extensions.Caching.SqlServer.Tests (1)
SqlServerCacheWithDatabaseTest.cs (1)
694
return new
SqlServerCache
(options);
5 references to SqlServerCache
Microsoft.Extensions.Caching.SqlServer (3)
SqlServerCache.cs (1)
33
/// Initializes a new instance of <see cref="
SqlServerCache
"/>.
SqlServerCacheOptions.cs (1)
11
/// Configuration options for <see cref="
SqlServerCache
"/>.
SqlServerCachingServicesExtensions.cs (1)
37
services.Add(ServiceDescriptor.Singleton<IDistributedCache,
SqlServerCache
>());
Microsoft.Extensions.Caching.SqlServer.Tests (2)
SqlServerCacheServicesExtensionsTest.cs (2)
26
Assert.Equal(typeof(
SqlServerCache
), serviceDescriptor.ImplementationType);
52
Assert.IsType<
SqlServerCache
>(serviceProvider.GetRequiredService<IDistributedCache>());