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