18 writes to Replicas
Aspire.Cli.Tests (18)
Commands\TerminalCommandTests.cs (4)
129
Replicas
= null
154
Replicas
= []
205
Replicas
=
288
Replicas
=
Commands\TerminalResourceResolverTests.cs (9)
60
return Task.FromResult(new GetTerminalInfoResponse { IsAvailable = true,
Replicas
= [endpoint] });
86
TerminalInfoResponse = new() { IsAvailable = true,
Replicas
= reverse ? [selected, first] : [first, selected] }
114
return Task.FromResult(new GetTerminalInfoResponse { IsAvailable = true,
Replicas
= [selected] });
153
Replicas
= reverse ? [second, first] : [first, second]
183
Replicas
=
219
Replicas
=
258
Replicas
= [new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused", IsAlive = true }]
285
Replicas
= [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }]
311
Replicas
=
Commands\TerminalTapePlayCommandTests.cs (5)
141
Replicas
=
227
Replicas
=
285
Replicas
= [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = false }]
330
Replicas
=
572
Replicas
= [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = socketPath ?? "unused", IsAlive = true }]
6 references to Replicas
aspire (5)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1092
resourceName, response.IsAvailable, response.
Replicas
?.Length ?? 0);
Commands\TerminalResourceResolver.cs (1)
61
if (!info.IsAvailable || info.
Replicas
is not { Length: > 0 } replicas)
Commands\TerminalTapePlayCommand.cs (1)
142
if (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)
76
Assert.Null(response.
Replicas
);