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