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)
1158return 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)
76Assert.Contains("not delete live Azure resources", resetCommand.DisplayDescription); 659Assert.Contains("permanently lost", changeLocationCommand.DisplayDescription, StringComparison.Ordinal);
Aspire.Hosting.Browsers.Tests (3)
BrowserLogsBuilderExtensionsTests.cs (3)
60Assert.Equal(BrowserCommandStrings.OpenTrackedBrowserDescription, command.DisplayDescription); 63Assert.Equal(BrowserCommandStrings.ConfigureTrackedBrowserDescription, configureCommand.DisplayDescription); 66Assert.Equal(BrowserCommandStrings.CaptureScreenshotDescription, screenshotCommand.DisplayDescription);
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectResourceTests.cs (2)
514Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription); 528Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription);
Aspire.Hosting.Tests (12)
Orchestrator\ParameterProcessorTests.cs (1)
879Assert.Equal(CommandStrings.SetParameterDescription, setValueCommand.DisplayDescription);
ResourceCommandAnnotationTests.cs (4)
86Assert.Equal(CommandStrings.RestartDescription, restartCommand.DisplayDescription); 101Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription); 116Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.DisplayDescription); 177Assert.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);