1 instantiation of SqlServerCacheOptions
Microsoft.Extensions.Caching.SqlServer.Tests (1)
SqlServerCacheWithDatabaseTest.cs (1)
699
return new
SqlServerCacheOptions
()
16 references to SqlServerCacheOptions
Microsoft.Extensions.Caching.SqlServer (8)
SqlServerCache.cs (3)
36
public SqlServerCache(IOptions<
SqlServerCacheOptions
> options)
38
var
cacheOptions = options.Value;
48
$"{nameof(
SqlServerCacheOptions
.ExpiredItemsDeletionInterval)} cannot be less than the minimum " +
SqlServerCacheOptions.cs (3)
13
public class SqlServerCacheOptions : IOptions<
SqlServerCacheOptions
>
46
SqlServerCacheOptions
IOptions<
SqlServerCacheOptions
>.Value
SqlServerCachingServicesExtensions.cs (2)
20
/// <param name="setupAction">An <see cref="Action{SqlServerCacheOptions}"/> to configure the provided <see cref="
SqlServerCacheOptions
"/>.</param>
22
public static IServiceCollection AddDistributedSqlServerCache(this IServiceCollection services, Action<
SqlServerCacheOptions
> setupAction)
Microsoft.Extensions.Caching.SqlServer.Tests (8)
SqlServerCacheWithDatabaseTest.cs (4)
127
var
cacheOptions = GetCacheOptions(testClock);
167
var
cacheOptions = GetCacheOptions(testClock);
687
private IDistributedCache GetSqlServerCache(
SqlServerCacheOptions
options = null)
697
private
SqlServerCacheOptions
GetCacheOptions(ISystemClock testClock = null)
TestOptions.cs (4)
8
internal class TestSqlServerCacheOptions : IOptions<
SqlServerCacheOptions
>
10
private readonly
SqlServerCacheOptions
_innerOptions;
12
public TestSqlServerCacheOptions(
SqlServerCacheOptions
innerOptions)
17
public
SqlServerCacheOptions
Value