1 instantiation of StackExchangeRedisSettings
Aspire.StackExchange.Redis (1)
AspireRedisExtensions.cs (1)
106StackExchangeRedisSettings settings = new();
33 references to StackExchangeRedisSettings
Aspire.StackExchange.Redis (16)
AspireRedisClientBuilder.cs (4)
13/// <param name="settings">The <see cref="StackExchangeRedisSettings"/> to configure the Redis client.</param> 15public sealed class AspireRedisClientBuilder(IHostApplicationBuilder hostBuilder, StackExchangeRedisSettings settings, string? serviceKey) 23/// Gets the <see cref="StackExchangeRedisSettings"/> used to configure the Redis client. 25public StackExchangeRedisSettings Settings { get; } = settings;
AspireRedisExtensions.cs (11)
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, 63/// <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> 69Action<StackExchangeRedisSettings>? configureSettings = null, 79/// <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> 85Action<StackExchangeRedisSettings>? configureSettings = null, 95Action<StackExchangeRedisSettings>? configureSettings, 106StackExchangeRedisSettings settings = new(); 229public required StackExchangeRedisSettings Settings { get; init; }
AssemblyInfo.cs (1)
8[assembly: ConfigurationSchema("Aspire:StackExchange:Redis", typeof(StackExchangeRedisSettings))]
Aspire.StackExchange.Redis.DistributedCaching (4)
AspireRedisDistributedCacheExtensions.cs (4)
23/// <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> 34Action<StackExchangeRedisSettings>? configureSettings = null, 53/// <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> 64Action<StackExchangeRedisSettings>? configureSettings = null,
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
DistributedCacheConformanceTests.cs (1)
24protected override void RegisterComponent(HostApplicationBuilder builder, Action<StackExchangeRedisSettings>? configure = null, string? key = null)
Aspire.StackExchange.Redis.OutputCaching (4)
AspireRedisOutputCacheExtensions.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> 33Action<StackExchangeRedisSettings>? configureSettings = null, 52/// <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> 63Action<StackExchangeRedisSettings>? configureSettings = null,
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
OutputCacheConformanceTests.cs (1)
24protected override void RegisterComponent(HostApplicationBuilder builder, Action<StackExchangeRedisSettings>? configure = null, string? key = null)
Aspire.StackExchange.Redis.Tests (7)
AspireRedisExtensionsTests.cs (2)
94void SetConnectionString(StackExchangeRedisSettings settings) => settings.ConnectionString = ConnectionString; 451void EnableAutoActivation(StackExchangeRedisSettings settings) => settings.DisableAutoActivation = !autoActivate;
ConformanceTests.cs (5)
14public class ConformanceTests : ConformanceTests<IConnectionMultiplexer, StackExchangeRedisSettings>, IClassFixture<RedisContainerFixture> 77protected override void RegisterComponent(HostApplicationBuilder builder, Action<StackExchangeRedisSettings>? configure = null, string? key = null) 89protected override void SetHealthCheck(StackExchangeRedisSettings options, bool enabled) 92protected override void SetTracing(StackExchangeRedisSettings options, bool enabled) 95protected override void SetMetrics(StackExchangeRedisSettings options, bool enabled)