1 write to State
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1180
State
= c.State.ToString()
3 references to State
Aspire.Hosting.Tests (3)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
304
var startCommand = Assert.Single(snapshot.Commands, c => c.Name == "start" && c.DisplayName == "Start" && c.Description == "Start the resource" && c.
State
== "Enabled");
320
Assert.Contains(snapshot.Commands, c => c.Name == "stop" && c.DisplayName == "Stop" && c.Description == "Stop the resource" && c.
State
== "Disabled");
321
Assert.Contains(snapshot.Commands, c => c.Name == "restart" && c.DisplayName == "Restart" && c.Description == null && c.
State
== "Hidden");