1 write to DisplayDescription
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
79DisplayDescription = displayDescription;
21 references to DisplayDescription
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (1)
712annotation.DisplayDescription,
ApplicationModel\ResourceNotificationService.cs (1)
1227return new ResourceCommandSnapshot(annotation.Name, state, annotation.DisplayName, annotation.DisplayDescription, annotation.Parameter, annotation.ConfirmationMessage, annotation.IconName, annotation.IconVariant, annotation.IsHighlighted)
Aspire.Hosting.Azure.Tests (2)
AzureEnvironmentResourceExtensionsTests.cs (2)
372Assert.Contains("not delete live Azure resources", resetCommand.DisplayDescription); 1002Assert.Contains("permanently lost", changeLocationCommand.DisplayDescription, StringComparison.Ordinal);
Aspire.Hosting.Browsers.Tests (3)
BrowserLogsBuilderExtensionsTests.cs (3)
59Assert.Equal(BrowserCommandStrings.OpenTrackedBrowserDescription, command.DisplayDescription); 62Assert.Equal(BrowserCommandStrings.ConfigureTrackedBrowserDescription, configureCommand.DisplayDescription); 65Assert.Equal(BrowserCommandStrings.CaptureScreenshotDescription, screenshotCommand.DisplayDescription);
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectResourceTests.cs (2)
576Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription); 604Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription);
Aspire.Hosting.Tests (12)
Orchestrator\ParameterProcessorTests.cs (1)
1040Assert.Equal(CommandStrings.SetParameterDescription, setValueCommand.DisplayDescription);
ResourceCommandAnnotationTests.cs (4)
92Assert.Equal(CommandStrings.RestartDescription, restartCommand.DisplayDescription); 107Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription); 122Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription); 183Assert.Equal(CommandStrings.RebuildDescription, rebuildCommand.DisplayDescription);
WithHttpCommandTests.cs (4)
212Assert.Null(command.DisplayDescription); 244Assert.Equal("Command description", command.DisplayDescription); 283Assert.Equal("Command description", command.DisplayDescription); 317Assert.Equal("Top-level description", command.DisplayDescription);
WithProcessCommandTests.cs (3)
75Assert.Equal("Command description", command.DisplayDescription); 115Assert.Equal("Export command description", command.DisplayDescription); 252Assert.Equal("Factory command description", command.DisplayDescription);