17 writes to IsAlive
Aspire.Cli.Tests (17)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
172IsAlive = true,
Commands\TerminalCommandTests.cs (9)
185IsAlive = true 192IsAlive = true 270IsAlive = true 277IsAlive = true 383IsAlive = true, 488IsAlive = true, 502IsAlive = true, 531IsAlive = false, 718IsAlive = true,
Commands\TerminalTapePlayCommandTests.cs (7)
137new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }, 138new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused", IsAlive = true } 174new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }, 180IsAlive = producerConnected, 230Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = false }] 282IsAlive = Interlocked.Increment(ref requests) > 1 515Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = socketPath ?? "unused", IsAlive = true }]
9 references to IsAlive
aspire (8)
Commands\TerminalAttachCommand.cs (1)
120if (!replica.IsAlive)
Commands\TerminalPsCommand.cs (2)
173IsAlive = replica.IsAlive, 311var status = replica.IsAlive
Commands\TerminalResourceResolver.cs (1)
76r => r.IsAlive
Commands\TerminalTapePlayCommand.cs (1)
137while (!replica.IsAlive)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (3)
1639/// replica. Synonym for <see cref="IsAlive"/> with clearer naming. 1750/// is false and the per-replica entries are degraded (<see cref="TerminalReplicaInfo.IsAlive"/> = 1789/// <see cref="TerminalReplicaInfo.IsAlive"/> = false and the AppHost-known
Aspire.Cli.Tests (1)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
133Assert.True(replica.IsAlive);