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