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
1091
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
1172
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1256
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1525
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1589
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1650
var result = await getResourceCommand.
ExecuteCommand
(new ExecuteCommandContext
1711
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
1846
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
1904
var result = await command.
ExecuteCommand
(new ExecuteCommandContext
1955
var queuedReprovisionTask = queuedReprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
1967
var result = await conflictingCommand.
ExecuteCommand
(new ExecuteCommandContext
2051
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2135
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2229
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2300
var commandTask = deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2378
var deleteTask = deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
2392
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2457
var result = await forgetCommand.
ExecuteCommand
(new ExecuteCommandContext
2521
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2575
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2635
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2712
var storageTask = reprovisionStorageCommand.
ExecuteCommand
(new ExecuteCommandContext
2726
var storage2Task = reprovisionStorage2Command.
ExecuteCommand
(new ExecuteCommandContext
2789
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
2806
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2887
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2933
var result = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
2986
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
3000
var cancelResult = await cancelCommand.
ExecuteCommand
(new ExecuteCommandContext
3053
var commandTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3126
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3179
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3239
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3300
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3370
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3431
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3500
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3557
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3620
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3691
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
3746
var result = await reprovisionAllCommand.
ExecuteCommand
(new ExecuteCommandContext
3786
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3860
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3908
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
3964
var result = await changeContextCommand.
ExecuteCommand
(new ExecuteCommandContext
4111
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4190
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4262
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4342
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4416
var commandTask = reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4468
var executionTask = changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
4514
var result = await changeLocationCommand.
ExecuteCommand
(new ExecuteCommandContext
4560
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4628
var result = await reprovisionCommand.
ExecuteCommand
(new ExecuteCommandContext
4867
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4919
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
4966
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
5014
var result = await deleteCommand.
ExecuteCommand
(new ExecuteCommandContext
5152
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)
608
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
662
var commandTask = command.
ExecuteCommand
(new ExecuteCommandContext
712
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)
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