64 writes to Description
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
3012target.Description = source.Description; 3808commandOptions.Description = exportOptions.Description ?? commandOptions.Description;
Aspire.Hosting.Azure (2)
AzureEnvironmentResourceExtensions.cs (1)
60Description = command.Description,
AzureResourcePreparer.cs (1)
83Description = 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)
612Description = MessageStrings.ShowTunnelUrlsCommandDescription,
Aspire.Hosting.EntityFrameworkCore (6)
EFResourceBuilderExtensions.cs (6)
701Description = "Apply pending migrations to the database", 717Description = "Delete the database", 734Description = "Drop and recreate the database with all migrations applied", 747Description = "Create a new migration. Note: The target project will need to be recompiled after adding a migration.", 770Description = "Remove the last migration. Note: The target project will need to be recompiled after removing a migration.", 782Description = "Show the current migration status of the database",
Aspire.Hosting.Tests (9)
Dashboard\DashboardServiceTests.cs (1)
166Description = "Display description!",
ResourceCommandServiceTests.cs (1)
1276Description = "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",
Stress.AppHost (37)
CommandResources.cs (27)
140Description = "Common API-only command that accepts required text and number arguments plus an optional boolean.", 198Description = "Common dashboard/API command with text, number, boolean, choice, and secret argument inputs.", 283Description = "Less common validation command with failure results, required inputs, defaults, and choice validation.", 361Description = "Minor dashboard/API stress command with many dynamically generated inputs to exercise argument metadata and payload handling.", 384Description = "Command with dependent inputs that dynamically load options based on other input values.", 521Description = "Runs 'dotnet --version' from the AppHost and returns the process output.", 543Description = "Runs a selected dotnet command from the AppHost to exercise process command arguments.", 571Description = "Runs a process that reads one line from standard input.", 599Description = "Runs a process with a custom environment and environment inheritance disabled.", 611Description = "Runs a process from the AppHost working directory and lists project files.", 621Description = "Runs a process that writes stdout/stderr and returns a non-zero exit code.", 631Description = "Runs a process that emits more lines than the command returns.", 645Description = "Runs a C# file-based app that reads command arguments and standard input.", 678Description = "Runs a C# file-based app from the AppHost working directory that writes stdout/stderr and returns a non-zero exit code.", 700Description = "Exercises a data seeding command with dashboard/CLI arguments.", 746Description = "Exercises running different test filters from a resource command.", 780Description = "Exercises the on-demand job trigger shape by starting a local process with a payload.", 818Description = "Exercises backup restore command composition similar to docker cp and docker exec pg_restore.", 865Description = "Exercises the local process shape for a docker exec-style command.", 907serviceBuilder.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" }); 908serviceBuilder.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" }); 909serviceBuilder.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" }); 1147commandOptions: new() { IconName = "Key", Description = "Generate a temporary access token" }) 1167commandOptions: new() { IconName = "LinkMultiple", Description = "Get the connection string for this resource" }) 1177commandOptions: new() { IconName = "Warning", Description = "Validate resource configuration (always fails with details)" }) 1185commandOptions: new() { IconName = "HeartBroken", Description = "Check resource health (always fails with details)" }) 1211commandOptions: new() { IconName = "CloudDatabase", Description = "Migrate the database with sample store data" });
InteractionCommands.cs (10)
791Description = "Simulates the Azure provisioning interaction inputs prompt with pretend data.", 820Description = "Shows a progress dialog with a work callback that completes after 10 seconds. Can be canceled.", 871Description = "Shows a progress dialog without a cancel button that closes after 10 seconds.", 894Description = "Shows a progress dialog with a title and message.", 917Description = "Shows a progress dialog with only a message (no title).", 942Description = "Shows a progress dialog with Markdown-formatted message and a cancel button.", 967Description = "Shows a progress dialog that only closes when the cancel button is clicked.", 979Description = "Automatically shows a progress dialog via CommandProgressOptions without explicit IInteractionService usage.", 1028Description = "Import a configuration file (JSON/YAML) into the resource.", 1085Description = "Upload TLS certificate files to install on the resource.",
TestShop.AppHost (1)
AppHost.cs (1)
45Description = "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)
2935return 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)); 3012target.Description = source.Description; 3808commandOptions.Description = exportOptions.Description ?? commandOptions.Description;
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
118commandOptions.Description,
Aspire.Hosting.Tests (1)
WithProcessCommandTests.cs (1)
37Assert.Null(defaultOptions.Description);