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