1 write to ExecuteCommand
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
78ExecuteCommand = 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)
420return await annotation.ExecuteCommand(context).ConfigureAwait(false); 427return await annotation.ExecuteCommand(context).ConfigureAwait(false); 449commandResult = await annotation.ExecuteCommand(linkedContext).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (64)
AzureEnvironmentResourceExtensionsTests.cs (64)
107var result = await delete.ExecuteCommand(new ExecuteCommandContext 179var result = await delete.ExecuteCommand(new ExecuteCommandContext 304var result = await command.ExecuteCommand(new ExecuteCommandContext 652var result = await resetCommand.ExecuteCommand(new ExecuteCommandContext 706var commandTask = resetCommand.ExecuteCommand(new ExecuteCommandContext 1091var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 1172var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1256var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1525var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1589var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1650var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1711var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 1846var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 1904var result = await command.ExecuteCommand(new ExecuteCommandContext 1955var queuedReprovisionTask = queuedReprovisionCommand.ExecuteCommand(new ExecuteCommandContext 1967var result = await conflictingCommand.ExecuteCommand(new ExecuteCommandContext 2051var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2135var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 2229var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 2300var commandTask = deleteCommand.ExecuteCommand(new ExecuteCommandContext 2378var deleteTask = deleteCommand.ExecuteCommand(new ExecuteCommandContext 2392var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2457var result = await forgetCommand.ExecuteCommand(new ExecuteCommandContext 2521var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2575var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2635var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2712var storageTask = reprovisionStorageCommand.ExecuteCommand(new ExecuteCommandContext 2726var storage2Task = reprovisionStorage2Command.ExecuteCommand(new ExecuteCommandContext 2789var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2806var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2887var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2933var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2986var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 3000var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 3053var commandTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3126var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3179var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3239var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3300var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3370var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3431var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3500var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3557var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3620var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3691var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3746var result = await reprovisionAllCommand.ExecuteCommand(new ExecuteCommandContext 3786var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3860var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3908var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3964var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 4111var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4190var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4262var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4342var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4416var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4468var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 4514var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 4560var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4628var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4867var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 4919var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 4966var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 5014var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 5152var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
303var result = await debugCommand.ExecuteCommand(new ExecuteCommandContext
WithBlazorAppTests.cs (1)
321var result = await command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
608var commandTask = command.ExecuteCommand(new ExecuteCommandContext 662var commandTask = command.ExecuteCommand(new ExecuteCommandContext 712var commandTask = command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
187var result = await command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
609return await originalStop.ExecuteCommand(context).ConfigureAwait(false);
Aspire.Hosting.Maui.Tests (2)
MauiBuildQueueTests.cs (2)
596var result = await stopCommand.ExecuteCommand(CreateExecuteCommandContext(env)).DefaultTimeout(); 629var result = await stopCommand.ExecuteCommand(CreateExecuteCommandContext(env)).DefaultTimeout();
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84var result = await command.ExecuteCommand(new ExecuteCommandContext 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84var result = await command.ExecuteCommand(new ExecuteCommandContext 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84var result = await command.ExecuteCommand(new ExecuteCommandContext 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84var result = await command.ExecuteCommand(new ExecuteCommandContext 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84var result = await command.ExecuteCommand(new ExecuteCommandContext 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.TestUtilities (1)
Utils\TerminalCommandTestHelpers.cs (1)
22var result = await command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
84var result = await command.ExecuteCommand(new ExecuteCommandContext 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => command.ExecuteCommand(new ExecuteCommandContext