2 types derived from CommandOptions
Aspire.Hosting (2)
ApplicationModel\HttpCommandOptions.cs (1)
35public class HttpCommandOptions : CommandOptions
ApplicationModel\ProcessCommandOptions.cs (1)
12public class ProcessCommandOptions : CommandOptions
96 instantiations of CommandOptions
Aspire.Hosting (1)
ApplicationModel\CommandOptions.cs (1)
15internal static CommandOptions Default { get; } = new();
Aspire.Hosting.Azure (2)
AzureEnvironmentResourceExtensions.cs (1)
58commandOptions: new CommandOptions
AzureResourcePreparer.cs (1)
81new 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)
610new CommandOptions
Aspire.Hosting.EntityFrameworkCore (6)
EFResourceBuilderExtensions.cs (6)
699commandOptions: new CommandOptions 715commandOptions: new CommandOptions 732commandOptions: new CommandOptions 745commandOptions: new CommandOptions 768commandOptions: new CommandOptions 780commandOptions: new CommandOptions
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
110commandOptions: new()
Aspire.Hosting.Tests (43)
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)
163commandOptions: new() 190commandOptions: new() 199commandOptions: new() 292commandOptions: new() 355commandOptions: new() 412commandOptions: new()
ResourceCommandServiceTests.cs (24)
523commandOptions: new CommandOptions 581commandOptions: new CommandOptions 622commandOptions: new CommandOptions 662commandOptions: new CommandOptions 704commandOptions: new CommandOptions 749commandOptions: new CommandOptions 780commandOptions: new CommandOptions 811commandOptions: new CommandOptions 843commandOptions: new CommandOptions 884commandOptions: new CommandOptions 946commandOptions: new CommandOptions 989commandOptions: new CommandOptions 1062commandOptions: new CommandOptions 1154commandOptions: new CommandOptions 1224commandOptions: new CommandOptions 1274commandOptions: new CommandOptions 1331commandOptions: new CommandOptions 1402commandOptions: new CommandOptions 1514commandOptions: new CommandOptions 1570commandOptions: new CommandOptions 1742commandOptions: new CommandOptions 1796commandOptions: new CommandOptions 1837commandOptions: new CommandOptions 1868commandOptions: 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
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)
789}, new CommandOptions 818}, new CommandOptions 845}, new CommandOptions 869}, new CommandOptions 892}, new CommandOptions 915}, new CommandOptions 940}, new CommandOptions 965}, new CommandOptions 977}, new CommandOptions 1026}, new CommandOptions 1083}, 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)
2917CommandOptions? commandOptions = null) where T : IResource 2924commandOptions ??= CommandOptions.Default; 3009private static void ApplyCommandOptions(CommandOptions target, CommandOptions source)
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
106CommandOptions commandOptions)