2 instantiations of SqlServerCache
Microsoft.Extensions.Caching.Hybrid.Tests (1)
ServiceConstructionTests.cs (1)
248(sp, key) => new SqlServerCache(new SqlServerCacheOptions
Microsoft.Extensions.Caching.SqlServer.Tests (1)
SqlServerCacheWithDatabaseTest.cs (1)
694return new SqlServerCache(options);
8 references to SqlServerCache
Microsoft.Extensions.Caching.Hybrid.Tests (3)
ServiceConstructionTests.cs (3)
247services.AddKeyedSingleton<IDistributedCache, SqlServerCache>("SqlServer", 264var hybridWithSqlServerBackend = Assert.IsType<SqlServerCache>(hybridWithSqlServer.BackendCache);
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)
37services.Add(ServiceDescriptor.Singleton<IDistributedCache, SqlServerCache>());
Microsoft.Extensions.Caching.SqlServer.Tests (2)
SqlServerCacheServicesExtensionsTest.cs (2)
26Assert.Equal(typeof(SqlServerCache), serviceDescriptor.ImplementationType); 52Assert.IsType<SqlServerCache>(serviceProvider.GetRequiredService<IDistributedCache>());