1 instantiation of StackExchangeRedisSettings
Aspire.StackExchange.Redis (1)
AspireRedisExtensions.cs (1)
73StackExchangeRedisSettings settings = new();
23 references to StackExchangeRedisSettings
Aspire.StackExchange.Redis (7)
AspireRedisExtensions.cs (6)
31/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="StackExchangeRedisSettings"/>. It's invoked after the settings are read from the configuration.</param> 37Action<StackExchangeRedisSettings>? configureSettings = null, 47/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="StackExchangeRedisSettings"/>. It's invoked after the settings are read from the configuration.</param> 53Action<StackExchangeRedisSettings>? configureSettings = null, 64Action<StackExchangeRedisSettings>? configureSettings, 73StackExchangeRedisSettings settings = new();
AssemblyInfo.cs (1)
8[assembly: ConfigurationSchema("Aspire:StackExchange:Redis", typeof(StackExchangeRedisSettings))]
Aspire.StackExchange.Redis.DistributedCaching (4)
AspireRedisDistributedCacheExtensions.cs (4)
22/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="StackExchangeRedisSettings"/>. It's invoked after the settings are read from the configuration.</param> 30public static void AddRedisDistributedCache(this IHostApplicationBuilder builder, string connectionName, Action<StackExchangeRedisSettings>? configureSettings = null, Action<ConfigurationOptions>? configureOptions = null) 45/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="StackExchangeRedisSettings"/>. It's invoked after the settings are read from the configuration.</param> 53public static void AddKeyedRedisDistributedCache(this IHostApplicationBuilder builder, string name, Action<StackExchangeRedisSettings>? configureSettings = null, Action<ConfigurationOptions>? configureOptions = null)
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
DistributedCacheConformanceTests.cs (1)
23protected override void RegisterComponent(HostApplicationBuilder builder, Action<StackExchangeRedisSettings>? configure = null, string? key = null)
Aspire.StackExchange.Redis.OutputCaching (4)
AspireRedisOutputCacheExtensions.cs (4)
21/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="StackExchangeRedisSettings"/>. It's invoked after the settings are read from the configuration.</param> 29public static void AddRedisOutputCache(this IHostApplicationBuilder builder, string connectionName, Action<StackExchangeRedisSettings>? configureSettings = null, Action<ConfigurationOptions>? configureOptions = null) 44/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="StackExchangeRedisSettings"/>. It's invoked after the settings are read from the configuration.</param> 52public static void AddKeyedRedisOutputCache(this IHostApplicationBuilder builder, string name, Action<StackExchangeRedisSettings>? configureSettings = null, Action<ConfigurationOptions>? configureOptions = null)
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
OutputCacheConformanceTests.cs (1)
23protected override void RegisterComponent(HostApplicationBuilder builder, Action<StackExchangeRedisSettings>? configure = null, string? key = null)
Aspire.StackExchange.Redis.Tests (6)
AspireRedisExtensionsTests.cs (1)
93void SetConnectionString(StackExchangeRedisSettings settings) => settings.ConnectionString = ConnectionString;
ConformanceTests.cs (5)
14public class ConformanceTests : ConformanceTests<IConnectionMultiplexer, StackExchangeRedisSettings>, IClassFixture<RedisContainerFixture> 75protected override void RegisterComponent(HostApplicationBuilder builder, Action<StackExchangeRedisSettings>? configure = null, string? key = null) 87protected override void SetHealthCheck(StackExchangeRedisSettings options, bool enabled) 90protected override void SetTracing(StackExchangeRedisSettings options, bool enabled) 93protected override void SetMetrics(StackExchangeRedisSettings options, bool enabled)