2 types derived from CommandOptions
Aspire.Hosting (2)
ApplicationModel\HttpCommandOptions.cs (1)
35
public class HttpCommandOptions :
CommandOptions
ApplicationModel\ProcessCommandOptions.cs (1)
12
public class ProcessCommandOptions :
CommandOptions
107 instantiations of CommandOptions
Aspire.Hosting (1)
ApplicationModel\CommandOptions.cs (1)
15
internal static CommandOptions Default { get; } =
new
();
Aspire.Hosting.Azure (3)
AzureEnvironmentResourceExtensions.cs (1)
55
commandOptions: new
CommandOptions
AzureResourcePreparer.cs (2)
102
new
CommandOptions
141
new
CommandOptions
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
362
commandOptions: new
CommandOptions
372
commandOptions: new
CommandOptions
Aspire.Hosting.Blazor (2)
BrowserDebuggerHelper.cs (2)
206
commandOptions:
new
()
265
commandOptions:
new
()
Aspire.Hosting.Browsers (3)
BrowserLogsBuilderExtensions.cs (3)
171
new
CommandOptions
213
new
CommandOptions
271
new
CommandOptions
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (3)
171
new
CommandOptions
213
new
CommandOptions
271
new
CommandOptions
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
638
new
CommandOptions
Aspire.Hosting.EntityFrameworkCore (6)
EFResourceBuilderExtensions.cs (6)
780
commandOptions: new
CommandOptions
796
commandOptions: new
CommandOptions
813
commandOptions: new
CommandOptions
826
commandOptions: new
CommandOptions
849
commandOptions: new
CommandOptions
861
commandOptions: new
CommandOptions
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
110
commandOptions:
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)
2308
commandOptions: new
CommandOptions
2373
commandOptions: new
CommandOptions
2424
commandOptions: new
CommandOptions
2481
commandOptions: new
CommandOptions
2555
commandOptions: new
CommandOptions
2630
commandOptions: new
CommandOptions
2678
commandOptions: new
CommandOptions
Dashboard\DashboardServiceTests.cs (6)
168
commandOptions:
new
()
195
commandOptions:
new
()
204
commandOptions:
new
()
297
commandOptions:
new
()
360
commandOptions:
new
()
417
commandOptions:
new
()
ResourceCommandServiceTests.cs (25)
525
commandOptions: new
CommandOptions
583
commandOptions: new
CommandOptions
624
commandOptions: new
CommandOptions
664
commandOptions: new
CommandOptions
706
commandOptions: new
CommandOptions
751
commandOptions: new
CommandOptions
782
commandOptions: new
CommandOptions
813
commandOptions: new
CommandOptions
845
commandOptions: new
CommandOptions
886
commandOptions: new
CommandOptions
948
commandOptions: new
CommandOptions
991
commandOptions: new
CommandOptions
1064
commandOptions: new
CommandOptions
1156
commandOptions: new
CommandOptions
1226
commandOptions: new
CommandOptions
1276
commandOptions: new
CommandOptions
1355
commandOptions: new
CommandOptions
{ Arguments = [textDefinition, messageDefinition] });
1436
commandOptions: new
CommandOptions
1507
commandOptions: new
CommandOptions
1619
commandOptions: new
CommandOptions
1675
commandOptions: new
CommandOptions
1944
commandOptions: new
CommandOptions
1998
commandOptions: new
CommandOptions
2039
commandOptions: new
CommandOptions
2070
commandOptions: new
CommandOptions
WithHttpCommandTests.cs (3)
259
CommandOptions = new
CommandOptions
306
CommandOptions = new
CommandOptions
358
CommandOptions = new
CommandOptions
WithProcessCommandTests.cs (3)
99
CommandOptions = new
CommandOptions
164
CommandOptions = new
CommandOptions
235
CommandOptions = new
CommandOptions
Aspire.Hosting.Valkey (1)
src\Shared\ContainerReplCommand.cs (1)
56
}, new
CommandOptions
DotnetTool.AppHost (1)
AppHost.cs (1)
107
}, new
CommandOptions
ParameterEndToEnd.AppHost (3)
AppHost.cs (3)
124
new
CommandOptions
{ Description = "Calls ParameterResource.SetValueAsync with a timestamped value.", IconName = "Code" });
134
new
CommandOptions
{ Description = "Calls ParameterResource.SetValueAsync(null).", IconName = "Delete" });
146
new
CommandOptions
{ Description = "Calls ParameterResource.TryGetCurrentValue.", IconName = "Info" });
Stress.AppHost (31)
CommandResources.cs (20)
46
commandOptions: new
CommandOptions
57
commandOptions: new
CommandOptions
70
commandOptions: new
CommandOptions
81
commandOptions: new
CommandOptions
93
commandOptions: new
CommandOptions
105
commandOptions: new
CommandOptions
());
113
commandOptions: new
CommandOptions
139
commandOptions: new
CommandOptions
197
commandOptions: new
CommandOptions
282
commandOptions: new
CommandOptions
360
commandOptions: new
CommandOptions
383
commandOptions: new
CommandOptions
1182
commandOptions:
new
() { IconName = "CloudDatabase" })
1191
commandOptions:
new
() { IconName = "Stop", IconVariant = IconVariant.Filled })
1200
commandOptions:
new
() { IconName = "Play", IconVariant = IconVariant.Filled });
1225
commandOptions:
new
() { IconName = "Key", Description = "Generate a temporary access token" })
1245
commandOptions:
new
() { IconName = "LinkMultiple", Description = "Get the connection string for this resource" })
1255
commandOptions:
new
() { IconName = "Warning", Description = "Validate resource configuration (always fails with details)" })
1263
commandOptions:
new
() { IconName = "HeartBroken", Description = "Check resource health (always fails with details)" })
1289
commandOptions:
new
() { IconName = "CloudDatabase", Description = "Migrate the database with sample store data" });
InteractionCommands.cs (11)
886
}, new
CommandOptions
915
}, new
CommandOptions
942
}, new
CommandOptions
966
}, new
CommandOptions
989
}, new
CommandOptions
1012
}, new
CommandOptions
1037
}, new
CommandOptions
1062
}, new
CommandOptions
1074
}, new
CommandOptions
1123
}, new
CommandOptions
1180
}, 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
?)"/>.
15
internal 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)
84
public
CommandOptions
? CommandOptions { get; init; }
ApplicationModel\ProcessCommandOptions.cs (2)
136
public
CommandOptions
? CommandOptions { get; set; }
205
public
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)
3308
CommandOptions
? commandOptions = null) where T : IResource
3315
commandOptions ??=
CommandOptions
.Default;
3400
private static void ApplyCommandOptions(
CommandOptions
target,
CommandOptions
source)
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
159
CommandOptions
commandOptions)