9 instantiations of TerminalReplicaInfo
Aspire.Cli.Tests (9)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
140
new
TerminalReplicaInfo
Commands\TerminalCommandTests.cs (8)
179
new
TerminalReplicaInfo
186
new
TerminalReplicaInfo
264
new
TerminalReplicaInfo
271
new
TerminalReplicaInfo
375
new
TerminalReplicaInfo
478
new
TerminalReplicaInfo
492
new
TerminalReplicaInfo
521
new
TerminalReplicaInfo
19 references to TerminalReplicaInfo
aspire (16)
Backchannel\BackchannelJsonSerializerContext.cs (2)
104
[JsonSerializable(typeof(
TerminalReplicaInfo
))]
105
[JsonSerializable(typeof(
TerminalReplicaInfo
[]))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
61
/// attached peer count, and peer details on <see cref="
TerminalReplicaInfo
"/>).
Commands\TerminalAttachCommand.cs (4)
210
private async Task<(
TerminalReplicaInfo
? Replica, int ErrorExitCode)> SelectReplicaAsync(
211
TerminalReplicaInfo
[] replicas,
218
var
match = Array.Find(replicas, r => r.ReplicaIndex == requestedReplica.Value);
245
var
picked = await _interactionService.PromptForSelectionAsync(
Commands\TerminalPsCommand.cs (3)
166
foreach (
var
replica in terminal.Replicas)
230
foreach (
var
replica in terminal.Replicas)
283
foreach (
var
replica in terminal.Replicas)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (6)
1712
public
TerminalReplicaInfo
[]? Replicas { get; init; }
1750
/// is false and the per-replica entries are degraded (<see cref="
TerminalReplicaInfo
.IsAlive"/> =
1751
/// false, AppHost-known <see cref="
TerminalReplicaInfo
.ConsumerUdsPath"/>), but the array shape
1789
/// <see cref="
TerminalReplicaInfo
.IsAlive"/> = false and the AppHost-known
1790
/// <see cref="
TerminalReplicaInfo
.ConsumerUdsPath"/> populated, so the diagnostic shape
1794
public
TerminalReplicaInfo
[]? Replicas { get; init; }
Aspire.Cli.Tests (3)
Backchannel\BackchannelJsonSerializerContextTests.cs (3)
111
var
replica = JsonSerializer.Deserialize<
TerminalReplicaInfo
>(json, options);
171
var
replica = terminal.Replicas[0];