1 write to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
35
DisplayName
= displayName;
9 references to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
653
return new ResourceCommandSnapshot(annotation.Name, state, annotation.
DisplayName
, annotation.DisplayDescription, annotation.Parameter, annotation.ConfirmationMessage, annotation.IconName, annotation.IconVariant, annotation.IsHighlighted);
Aspire.Hosting.Tests (8)
WithHttpCommandTests.cs (8)
93
Assert.Equal("Do The Thing", command.
DisplayName
);
126
Assert.Equal("Do The Thing", command.
DisplayName
);
153
var command1 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Thing");
154
var command2 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Thing" && c.Name.Contains("custom-endpoint"));
155
var command3 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Get Thing");
156
var command4 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Get Thing" && c.Name.Contains("custom-endpoint"));
157
var command5 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Other Thing");
158
var command6 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Other Thing CHANGED");