2 types derived from CommandOptions
Aspire.Hosting (2)
ApplicationModel\HttpCommandOptions.cs (1)
35public class HttpCommandOptions : CommandOptions
ApplicationModel\ProcessCommandOptions.cs (1)
12public class ProcessCommandOptions : CommandOptions
103 instantiations of CommandOptions
Aspire.Hosting (1)
ApplicationModel\CommandOptions.cs (1)
15internal static CommandOptions Default { get; } = new();
Aspire.Hosting.Azure (2)
AzureEnvironmentResourceExtensions.cs (1)
55commandOptions: new CommandOptions
AzureResourcePreparer.cs (1)
89new CommandOptions
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
341commandOptions: new CommandOptions 351commandOptions: new CommandOptions
Aspire.Hosting.Blazor (2)
BrowserDebuggerHelper.cs (2)
206commandOptions: new() 265commandOptions: new()
Aspire.Hosting.Browsers (3)
BrowserLogsBuilderExtensions.cs (3)
171new CommandOptions 213new CommandOptions 271new CommandOptions
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (3)
171new CommandOptions 213new CommandOptions 271new CommandOptions
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
638new CommandOptions
Aspire.Hosting.EntityFrameworkCore (6)
EFResourceBuilderExtensions.cs (6)
785commandOptions: new CommandOptions 801commandOptions: new CommandOptions 818commandOptions: new CommandOptions 831commandOptions: new CommandOptions 854commandOptions: new CommandOptions 866commandOptions: new CommandOptions
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
110commandOptions: new()
Aspire.Hosting.MongoDB (1)
src\Shared\ContainerReplCommand.cs (1)
56}, new CommandOptions
Aspire.Hosting.MySql (1)
src\Shared\ContainerReplCommand.cs (1)
56}, new CommandOptions
Aspire.Hosting.PostgreSQL (1)
src\Shared\ContainerReplCommand.cs (1)
56}, new CommandOptions
Aspire.Hosting.Redis (1)
src\Shared\ContainerReplCommand.cs (1)
56}, new CommandOptions
Aspire.Hosting.SqlServer (1)
src\Shared\ContainerReplCommand.cs (1)
56}, new CommandOptions
Aspire.Hosting.Tests (44)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (7)
2261commandOptions: new CommandOptions 2326commandOptions: new CommandOptions 2377commandOptions: new CommandOptions 2434commandOptions: new CommandOptions 2508commandOptions: new CommandOptions 2583commandOptions: new CommandOptions 2631commandOptions: new CommandOptions
Dashboard\DashboardServiceTests.cs (6)
168commandOptions: new() 195commandOptions: new() 204commandOptions: new() 297commandOptions: new() 360commandOptions: new() 417commandOptions: new()
ResourceCommandServiceTests.cs (25)
524commandOptions: new CommandOptions 582commandOptions: new CommandOptions 623commandOptions: new CommandOptions 663commandOptions: new CommandOptions 705commandOptions: new CommandOptions 750commandOptions: new CommandOptions 781commandOptions: new CommandOptions 812commandOptions: new CommandOptions 844commandOptions: new CommandOptions 885commandOptions: new CommandOptions 947commandOptions: new CommandOptions 990commandOptions: new CommandOptions 1063commandOptions: new CommandOptions 1155commandOptions: new CommandOptions 1225commandOptions: new CommandOptions 1275commandOptions: new CommandOptions 1353commandOptions: new CommandOptions { Arguments = [textDefinition, messageDefinition] }); 1434commandOptions: new CommandOptions 1505commandOptions: new CommandOptions 1617commandOptions: new CommandOptions 1673commandOptions: new CommandOptions 1855commandOptions: new CommandOptions 1909commandOptions: new CommandOptions 1950commandOptions: new CommandOptions 1981commandOptions: new CommandOptions
WithHttpCommandTests.cs (3)
259CommandOptions = new CommandOptions 306CommandOptions = new CommandOptions 358CommandOptions = new CommandOptions
WithProcessCommandTests.cs (3)
99CommandOptions = new CommandOptions 164CommandOptions = new CommandOptions 235CommandOptions = new CommandOptions
Aspire.Hosting.Valkey (1)
src\Shared\ContainerReplCommand.cs (1)
56}, new CommandOptions
DotnetTool.AppHost (1)
AppHost.cs (1)
107}, new CommandOptions
Stress.AppHost (31)
CommandResources.cs (20)
45commandOptions: new CommandOptions 56commandOptions: new CommandOptions 69commandOptions: new CommandOptions 80commandOptions: new CommandOptions 92commandOptions: new CommandOptions 104commandOptions: new CommandOptions()); 112commandOptions: new CommandOptions 138commandOptions: new CommandOptions 196commandOptions: new CommandOptions 281commandOptions: new CommandOptions 359commandOptions: new CommandOptions 382commandOptions: new CommandOptions 1104commandOptions: new() { IconName = "CloudDatabase" }) 1113commandOptions: new() { IconName = "Stop", IconVariant = IconVariant.Filled }) 1122commandOptions: new() { IconName = "Play", IconVariant = IconVariant.Filled }); 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 (11)
870}, new CommandOptions 899}, new CommandOptions 926}, new CommandOptions 950}, new CommandOptions 973}, new CommandOptions 996}, new CommandOptions 1021}, new CommandOptions 1046}, new CommandOptions 1058}, new CommandOptions 1107}, new CommandOptions 1164}, new CommandOptions
13 references to CommandOptions
Aspire.Hosting (12)
ApplicationModel\CommandOptions.cs (2)
7/// Optional configuration for resource commands added with <see cref="ResourceBuilderExtensions.WithCommand{T}(Aspire.Hosting.ApplicationModel.IResourceBuilder{T}, string, string, Func{Aspire.Hosting.ApplicationModel.ExecuteCommandContext, Task{Aspire.Hosting.ApplicationModel.ExecuteCommandResult}}, Aspire.Hosting.ApplicationModel.CommandOptions?)"/>. 15internal static CommandOptions Default { get; } = new();
ApplicationModel\HttpCommandContext.cs (2)
53/// The collection contains the arguments described by the command's <see cref="CommandOptions.Arguments"/> with their 140/// The collection contains the arguments described by the command's <see cref="CommandOptions.Arguments"/> with their
ApplicationModel\HttpCommandOptions.cs (1)
84public CommandOptions? CommandOptions { get; init; }
ApplicationModel\ProcessCommandOptions.cs (2)
136public CommandOptions? CommandOptions { get; set; } 205public CommandOptions? CommandOptions { get; set; }
ApplicationModel\ProcessCommandResultContext.cs (1)
52/// The collection contains the arguments described by the command's <see cref="CommandOptions.Arguments"/> with their
ResourceBuilderExtensions.cs (4)
3288CommandOptions? commandOptions = null) where T : IResource 3295commandOptions ??= CommandOptions.Default; 3380private static void ApplyCommandOptions(CommandOptions target, CommandOptions source)
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
114CommandOptions commandOptions)