1 write to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
35
DisplayName
= displayName;
10 references to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
786
return new ResourceCommandSnapshot(annotation.Name, state, annotation.
DisplayName
, annotation.DisplayDescription, annotation.Parameter, annotation.ConfirmationMessage, annotation.IconName, annotation.IconVariant, annotation.IsHighlighted);
Aspire.Hosting.Tests (9)
Orchestrator\ParameterProcessorTests.cs (1)
866
Assert.Equal(CommandStrings.SetParameterName, setValueCommand.
DisplayName
);
WithHttpCommandTests.cs (8)
95
Assert.Equal("Do The Thing", command.
DisplayName
);
128
Assert.Equal("Do The Thing", command.
DisplayName
);
155
var command1 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Thing");
156
var command2 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Thing" && c.Name.Contains("custom-endpoint"));
157
var command3 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Get Thing");
158
var command4 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Get Thing" && c.Name.Contains("custom-endpoint"));
159
var command5 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Other Thing");
160
var command6 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Other Thing CHANGED");