1 write to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
35DisplayName = displayName;
9 references to DisplayName
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
677return 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)
49Assert.Equal("Do The Thing", command.DisplayName); 82Assert.Equal("Do The Thing", command.DisplayName); 109var command1 = commands.FirstOrDefault(c => c.DisplayName == "Do The Thing"); 110var command2 = commands.FirstOrDefault(c => c.DisplayName == "Do The Thing" && c.Name.Contains("custom-endpoint")); 111var command3 = commands.FirstOrDefault(c => c.DisplayName == "Do The Get Thing"); 112var command4 = commands.FirstOrDefault(c => c.DisplayName == "Do The Get Thing" && c.Name.Contains("custom-endpoint")); 113var command5 = commands.FirstOrDefault(c => c.DisplayName == "Do The Other Thing"); 114var command6 = commands.FirstOrDefault(c => c.DisplayName == "Do The Other Thing CHANGED");