1 write to Commands
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
640
Commands
= commands
4 references to Commands
Aspire.Hosting.Tests (4)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (4)
185
Assert.Equal(3, snapshot.
Commands
.Length);
186
Assert.Contains(snapshot.
Commands
, c => c.Name == "start" && c.DisplayName == "Start" && c.Description == "Start the resource" && c.State == "Enabled");
187
Assert.Contains(snapshot.
Commands
, c => c.Name == "stop" && c.DisplayName == "Stop" && c.Description == "Stop the resource" && c.State == "Disabled");
188
Assert.Contains(snapshot.
Commands
, c => c.Name == "restart" && c.DisplayName == "Restart" && c.Description == null && c.State == "Hidden");