9 writes to Replicas
Aspire.Cli.Tests (9)
Commands\TerminalCommandTests.cs (4)
128Replicas = null 153Replicas = [] 178Replicas = 263Replicas =
Commands\TerminalTapePlayCommandTests.cs (5)
135Replicas = 172Replicas = 230Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = false }] 275Replicas = 515Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = socketPath ?? "unused", IsAlive = true }]
6 references to Replicas
aspire (5)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1092resourceName, response.IsAvailable, response.Replicas?.Length ?? 0);
Commands\TerminalResourceResolver.cs (1)
42if (!info.IsAvailable || info.Replicas is not { Length: > 0 } replicas)
Commands\TerminalTapePlayCommand.cs (1)
141if (info.IsAvailable && info.Replicas is { } replicas &&
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (2)
56/// <see cref="GetTerminalInfoResponse.Replicas"/> AND the per-resource list returned by 1599/// <see cref="GetTerminalInfoResponse.Replicas"/> when the auxiliary backchannel reports
Aspire.Cli.Tests (1)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
76Assert.Null(response.Replicas);