1 instantiation of RedisCommanderResource
Aspire.Hosting.Redis.Tests (1)
RedisPublicApiTests.cs (1)
140var action = () => new RedisCommanderResource(name);
12 references to RedisCommanderResource
Aspire.Hosting.Redis (5)
RedisBuilderExtensions.cs (5)
77public static IResourceBuilder<RedisResource> WithRedisCommander(this IResourceBuilder<RedisResource> builder, Action<IResourceBuilder<RedisCommanderResource>>? configureContainer = null, string? containerName = null) 81if (builder.ApplicationBuilder.Resources.OfType<RedisCommanderResource>().SingleOrDefault() is { } existingRedisCommanderResource) 91var resource = new RedisCommanderResource(containerName); 327public static IResourceBuilder<RedisCommanderResource> WithHostPort(this IResourceBuilder<RedisCommanderResource> builder, int? port)
Aspire.Hosting.Redis.Tests (7)
AddRedisTests.cs (5)
129Assert.Single(builder.Resources.OfType<RedisCommanderResource>()); 153var resource = Assert.Single(builder.Resources.OfType<RedisCommanderResource>()); 187var resource = Assert.Single(builder.Resources.OfType<RedisCommanderResource>());
RedisFunctionalTests.cs (1)
71IResourceBuilder<RedisCommanderResource>? commanderBuilder = null;
RedisPublicApiTests.cs (1)
63IResourceBuilder<RedisCommanderResource> builder = null!;