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)
108
var result = await delete.
ExecuteCommand
(new ExecuteCommandContext
180
var result = await delete.
ExecuteCommand
(new ExecuteCommandContext
305
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
653
var result = await resetCommand.
ExecuteCommand
(new ExecuteCommandContext
707
var commandTask = resetCommand.
ExecuteCommand
(new ExecuteCommandContext
1092
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
1173
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1257
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1526
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1590
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1651
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1712
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
1847
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
1905
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
1956
var queuedReprovisionTask = queuedReprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
1968
var result = await conflictingCommand.
ExecuteCommand
(new ExecuteCommandContext
2052
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2136
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2230
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2301
var commandTask = deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2379
var deleteTask = deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2393
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2458
var result = await forgetCommand.
ExecuteCommand
(new ExecuteCommandContext
2522
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2576
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2636
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2713
var storageTask = reprovisionStorageCommand.
ExecuteCommand
(new ExecuteCommandContext
2727
var storage2Task = reprovisionStorage2Command.
ExecuteCommand
(new ExecuteCommandContext
2790
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2807
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2888
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2934
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2987
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
3001
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
3054
var commandTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3127
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3180
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3240
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3301
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3371
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3432
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3501
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3558
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3621
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3692
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3747
var result = await reprovisionAllCommand.
ExecuteCommand
(new ExecuteCommandContext
3787
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3861
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3909
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3965
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
4112
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4191
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4263
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4343
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4417
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4469
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
4515
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
4561
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4629
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4868
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4920
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4967
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
5015
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
5153
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
303
var result = await debugCommand.
ExecuteCommand
(new ExecuteCommandContext
WithBlazorAppTests.cs (1)
321
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
607
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
661
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
711
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
192
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
609
return await originalStop.
ExecuteCommand
(context).ConfigureAwait(false);
Aspire.Hosting.Maui.Tests (2)
MauiBuildQueueTests.cs (2)
596
var result = await stopCommand.
ExecuteCommand
(CreateExecuteCommandContext(env)).DefaultTimeout();
629
var result = await stopCommand.
ExecuteCommand
(CreateExecuteCommandContext(env)).DefaultTimeout();
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
107
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
107
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
107
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
107
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
107
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)
84
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
107
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.
ExecuteCommand
(new ExecuteCommandContext