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)
677
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)
49
Assert.Equal("Do The Thing", command.
DisplayName
);
82
Assert.Equal("Do The Thing", command.
DisplayName
);
109
var command1 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Thing");
110
var command2 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Thing" && c.Name.Contains("custom-endpoint"));
111
var command3 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Get Thing");
112
var command4 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Get Thing" && c.Name.Contains("custom-endpoint"));
113
var command5 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Other Thing");
114
var command6 = commands.FirstOrDefault(c => c.
DisplayName
== "Do The Other Thing CHANGED");