1 write to ExecuteCommand
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
78
ExecuteCommand
= executeCommand;
91 references to ExecuteCommand
Aspire.Hosting (5)
ApplicationModel\ResourceCommandAnnotation.cs (2)
292
/// The result of executing a command. Returned from <see cref="ResourceCommandAnnotation.
ExecuteCommand
"/>.
439
/// Context for <see cref="ResourceCommandAnnotation.
ExecuteCommand
"/>.
ApplicationModel\ResourceCommandService.cs (3)
420
return await annotation.
ExecuteCommand
(context).ConfigureAwait(false);
427
return await annotation.
ExecuteCommand
(context).ConfigureAwait(false);
449
commandResult = await annotation.
ExecuteCommand
(linkedContext).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (64)
AzureEnvironmentResourceExtensionsTests.cs (64)
107
var result = await delete.
ExecuteCommand
(new ExecuteCommandContext
179
var result = await delete.
ExecuteCommand
(new ExecuteCommandContext
304
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
652
var result = await resetCommand.
ExecuteCommand
(new ExecuteCommandContext
706
var commandTask = resetCommand.
ExecuteCommand
(new ExecuteCommandContext
1066
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
1147
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1231
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1500
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1564
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1625
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1686
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
1821
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
1879
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
1930
var queuedReprovisionTask = queuedReprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
1942
var result = await conflictingCommand.
ExecuteCommand
(new ExecuteCommandContext
2026
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2110
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2204
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2275
var commandTask = deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2353
var deleteTask = deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2367
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2432
var result = await forgetCommand.
ExecuteCommand
(new ExecuteCommandContext
2496
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2550
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2610
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2687
var storageTask = reprovisionStorageCommand.
ExecuteCommand
(new ExecuteCommandContext
2701
var storage2Task = reprovisionStorage2Command.
ExecuteCommand
(new ExecuteCommandContext
2764
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2781
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2862
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2908
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2961
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2975
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
3028
var commandTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3101
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3154
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3214
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3275
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3345
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3406
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3475
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3532
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3595
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3666
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3721
var result = await reprovisionAllCommand.
ExecuteCommand
(new ExecuteCommandContext
3761
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3835
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3883
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3939
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
4086
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4165
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4237
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4317
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4391
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4443
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
4489
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
4535
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4603
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4842
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4894
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4941
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4989
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
5127
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
322
var result = await debugCommand.
ExecuteCommand
(new ExecuteCommandContext
WithBlazorAppTests.cs (1)
320
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
571
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
623
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
671
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
187
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
605
return await originalStop.
ExecuteCommand
(context).ConfigureAwait(false);
Aspire.Hosting.Maui.Tests (2)
MauiBuildQueueTests.cs (2)
573
var result = await stopCommand.
ExecuteCommand
(CreateExecuteCommandContext(env)).DefaultTimeout();
606
var result = await stopCommand.
ExecuteCommand
(CreateExecuteCommandContext(env)).DefaultTimeout();
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
83
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
106
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
83
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
106
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
83
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
106
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
83
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
106
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
83
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
106
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.TestUtilities (1)
Utils\TerminalCommandTestHelpers.cs (1)
22
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
83
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
106
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext