78 writes to Description
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
3383target.Description = source.Description; 4179commandOptions.Description = exportOptions.Description ?? commandOptions.Description;
Aspire.Hosting.Azure (3)
AzureEnvironmentResourceExtensions.cs (1)
57Description = command.Description,
AzureResourcePreparer.cs (2)
104Description = command.Description, 143Description = command.Description,
Aspire.Hosting.Browsers (3)
BrowserLogsBuilderExtensions.cs (3)
173Description = BrowserCommandStrings.OpenTrackedBrowserDescription, 215Description = BrowserCommandStrings.ConfigureTrackedBrowserDescription, 273Description = BrowserCommandStrings.CaptureScreenshotDescription,
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (3)
173Description = BrowserCommandStrings.OpenTrackedBrowserDescription, 215Description = BrowserCommandStrings.ConfigureTrackedBrowserDescription, 273Description = BrowserCommandStrings.CaptureScreenshotDescription,
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
640Description = MessageStrings.ShowTunnelUrlsCommandDescription,
Aspire.Hosting.EntityFrameworkCore (6)
EFResourceBuilderExtensions.cs (6)
782Description = "Apply pending migrations to the database", 798Description = "Delete the database", 815Description = "Drop and recreate the database with all migrations applied", 828Description = "Create a new migration. Note: The target project will need to be recompiled after adding a migration.", 851Description = "Remove the last migration. Note: The target project will need to be recompiled after removing a migration.", 863Description = "Show the current migration status of the database",
Aspire.Hosting.MongoDB (1)
src\Shared\ContainerReplCommand.cs (1)
58Description = "Open a REPL inside the running container in the terminal dock.",
Aspire.Hosting.MySql (1)
src\Shared\ContainerReplCommand.cs (1)
58Description = "Open a REPL inside the running container in the terminal dock.",
Aspire.Hosting.PostgreSQL (1)
src\Shared\ContainerReplCommand.cs (1)
58Description = "Open a REPL inside the running container in the terminal dock.",
Aspire.Hosting.Redis (1)
src\Shared\ContainerReplCommand.cs (1)
58Description = "Open a REPL inside the running container in the terminal dock.",
Aspire.Hosting.SqlServer (1)
src\Shared\ContainerReplCommand.cs (1)
58Description = "Open a REPL inside the running container in the terminal dock.",
Aspire.Hosting.Tests (9)
Dashboard\DashboardServiceTests.cs (1)
171Description = "Display description!",
ResourceCommandServiceTests.cs (1)
1277Description = "Command description",
WithHttpCommandTests.cs (3)
230Description = "Command description", 261Description = "Command description", 308Description = "Common description",
WithProcessCommandTests.cs (4)
30options.Description = "Mutated description"; 56Description = "Command description", 101Description = "Export command description", 237Description = "Factory command description",
Aspire.Hosting.Valkey (1)
src\Shared\ContainerReplCommand.cs (1)
58Description = "Open a REPL inside the running container in the terminal dock.",
Stress.AppHost (44)
CommandResources.cs (34)
141Description = "Common API-only command that accepts required text and number arguments plus an optional boolean.", 199Description = "Common dashboard/API command with text, number, boolean, choice, and secret argument inputs.", 284Description = "Less common validation command with failure results, required inputs, defaults, and choice validation.", 362Description = "Minor dashboard/API stress command with many dynamically generated inputs to exercise argument metadata and payload handling.", 385Description = "Command with dependent inputs that dynamically load options based on other input values.", 522Description = "Runs 'dotnet --version' from the AppHost and returns the process output.", 544Description = "Runs a selected dotnet command from the AppHost to exercise process command arguments.", 572Description = "Runs a process that reads one line from standard input.", 600Description = "Runs a process with a custom environment and environment inheritance disabled.", 612Description = "Runs a process from the AppHost working directory and lists project files.", 622Description = "Runs a process that writes stdout/stderr and returns a non-zero exit code.", 632Description = "Runs a process that emits more lines than the command returns.", 646Description = "Runs a C# file-based app that reads command arguments and standard input.", 679Description = "Runs a C# file-based app from the AppHost working directory that writes stdout/stderr and returns a non-zero exit code.", 701Description = "Exercises a data seeding command with dashboard/CLI arguments.", 747Description = "Exercises running different test filters from a resource command.", 781Description = "Exercises the on-demand job trigger shape by starting a local process with a payload.", 819Description = "Exercises backup restore command composition similar to docker cp and docker exec pg_restore.", 866Description = "Exercises the local process shape for a docker exec-style command.", 908serviceBuilder.WithHttpCommand("/http-command-auto-result", "HTTP command auto result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Auto, Description = "Run an HTTP command and infer the result format from the response content type" }); 909serviceBuilder.WithHttpCommand("/http-command-json-result", "HTTP command JSON result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Json, Description = "Run an HTTP command and flow the JSON response back to the caller" }); 910serviceBuilder.WithHttpCommand("/http-command-text-result", "HTTP command text result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Text, Description = "Run an HTTP command and flow the plain-text response back to the caller" }); 924Description = "Send five minutes of histogram data with disjoint bucket bounds. View incompatible.histogram.bounds on incompatible-histogram-metrics with both stress.layout dimensions selected to see the percentile warning." 935Description = "Send five minutes of histogram data with an unavailable middle interval. View histogram.unavailable.percentiles on unavailable-histogram-percentiles with both stress.layout dimensions selected, a five-minute duration, and Show count off to see the gap." 946Description = "Send five minutes of histogram data with exemplars and matching traces, including two samples in the percentile gap. View histogram.unavailable.exemplars on unavailable-histogram-exemplars with both stress.layout dimensions selected, a five-minute duration, and Show count off." 957Description = "Send five minutes of equal-count delta intervals with changing distributions. View histogram.delta.intervals on delta-histogram-intervals; Show count sums all observations." 968Description = "Send five minutes of cumulative data with two resets and changed bucket layouts. View histogram.cumulative.resets on cumulative-histogram-resets; Show count displays three rising ramps." 979Description = "Send five minutes of delta points that omit StartTimeUnixNano. View histogram.delta.without.start on delta-histogram-without-start to verify both count and percentile chart placement." 990Description = "Send five minutes of cumulative data across different layouts with shared bounds. View histogram.shared.bounds on shared-histogram-bounds with both stress.layout dimensions selected." 1225commandOptions: new() { IconName = "Key", Description = "Generate a temporary access token" }) 1245commandOptions: new() { IconName = "LinkMultiple", Description = "Get the connection string for this resource" }) 1255commandOptions: new() { IconName = "Warning", Description = "Validate resource configuration (always fails with details)" }) 1263commandOptions: new() { IconName = "HeartBroken", Description = "Check resource health (always fails with details)" }) 1289commandOptions: new() { IconName = "CloudDatabase", Description = "Migrate the database with sample store data" });
InteractionCommands.cs (10)
872Description = "Simulates the Azure provisioning interaction inputs prompt with pretend data.", 901Description = "Shows a progress dialog with a work callback that completes after 10 seconds. Can be canceled.", 952Description = "Shows a progress dialog without a cancel button that closes after 10 seconds.", 975Description = "Shows a progress dialog with a title and message.", 998Description = "Shows a progress dialog with only a message (no title).", 1023Description = "Shows a progress dialog with Markdown-formatted message and a cancel button.", 1048Description = "Shows a progress dialog that only closes when the cancel button is clicked.", 1060Description = "Automatically shows a progress dialog via CommandProgressOptions without explicit IInteractionService usage.", 1109Description = "Import a configuration file (JSON/YAML) into the resource.", 1166Description = "Upload TLS certificate files to install on the resource.",
TestShop.AppHost (1)
AppHost.cs (1)
125Description = "Reset the catalog database to its initial state. This will delete and recreate the database.",
5 references to Description
Aspire.Hosting (3)
ResourceBuilderExtensions.cs (3)
3306return builder.WithAnnotation(new ResourceCommandAnnotation(name, displayName, commandOptions.UpdateState ?? (c => ResourceCommandState.Enabled), executeCommand, commandOptions.Description, commandOptions.Parameter, commandOptions.Arguments, commandOptions.ConfirmationMessage, commandOptions.IconName, commandOptions.IconVariant, commandOptions.IsHighlighted, commandOptions.Visibility, commandOptions.ValidateArguments, commandOptions.Progress)); 3383target.Description = source.Description; 4179commandOptions.Description = exportOptions.Description ?? commandOptions.Description;
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
171commandOptions.Description,
Aspire.Hosting.Tests (1)
WithProcessCommandTests.cs (1)
37Assert.Null(defaultOptions.Description);