1 write to DisplayDescription
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
79
DisplayDescription
= displayDescription;
21 references to DisplayDescription
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (1)
712
annotation.
DisplayDescription
,
ApplicationModel\ResourceNotificationService.cs (1)
1158
return 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)
76
Assert.Contains("not delete live Azure resources", resetCommand.
DisplayDescription
);
659
Assert.Contains("permanently lost", changeLocationCommand.
DisplayDescription
, StringComparison.Ordinal);
Aspire.Hosting.Browsers.Tests (3)
BrowserLogsBuilderExtensionsTests.cs (3)
60
Assert.Equal(BrowserCommandStrings.OpenTrackedBrowserDescription, command.
DisplayDescription
);
63
Assert.Equal(BrowserCommandStrings.ConfigureTrackedBrowserDescription, configureCommand.
DisplayDescription
);
66
Assert.Equal(BrowserCommandStrings.CaptureScreenshotDescription, screenshotCommand.
DisplayDescription
);
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectResourceTests.cs (2)
514
Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.
DisplayDescription
);
528
Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.
DisplayDescription
);
Aspire.Hosting.Tests (12)
Orchestrator\ParameterProcessorTests.cs (1)
879
Assert.Equal(CommandStrings.SetParameterDescription, setValueCommand.
DisplayDescription
);
ResourceCommandAnnotationTests.cs (4)
86
Assert.Equal(CommandStrings.RestartDescription, restartCommand.
DisplayDescription
);
101
Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.
DisplayDescription
);
116
Assert.Equal(CommandStrings.RestartProjectDescription, restartCommand.
DisplayDescription
);
177
Assert.Equal(CommandStrings.RebuildDescription, rebuildCommand.
DisplayDescription
);
WithHttpCommandTests.cs (4)
212
Assert.Null(command.
DisplayDescription
);
244
Assert.Equal("Command description", command.
DisplayDescription
);
283
Assert.Equal("Command description", command.
DisplayDescription
);
317
Assert.Equal("Top-level description", command.
DisplayDescription
);
WithProcessCommandTests.cs (3)
75
Assert.Equal("Command description", command.
DisplayDescription
);
115
Assert.Equal("Export command description", command.
DisplayDescription
);
252
Assert.Equal("Factory command description", command.
DisplayDescription
);