1 write to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
35DisplayName = displayName;
9 references to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
653return 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)
93Assert.Equal("Do The Thing", command.DisplayName); 126Assert.Equal("Do The Thing", command.DisplayName); 153var command1 = commands.FirstOrDefault(c => c.DisplayName == "Do The Thing"); 154var command2 = commands.FirstOrDefault(c => c.DisplayName == "Do The Thing" && c.Name.Contains("custom-endpoint")); 155var command3 = commands.FirstOrDefault(c => c.DisplayName == "Do The Get Thing"); 156var command4 = commands.FirstOrDefault(c => c.DisplayName == "Do The Get Thing" && c.Name.Contains("custom-endpoint")); 157var command5 = commands.FirstOrDefault(c => c.DisplayName == "Do The Other Thing"); 158var command6 = commands.FirstOrDefault(c => c.DisplayName == "Do The Other Thing CHANGED");