1 write to ExecuteCommand
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
78ExecuteCommand = executeCommand;
75 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 (61)
AzureEnvironmentResourceExtensionsTests.cs (61)
356var result = await resetCommand.ExecuteCommand(new ExecuteCommandContext 410var commandTask = resetCommand.ExecuteCommand(new ExecuteCommandContext 748var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 829var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 913var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1182var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1246var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1307var result = await getResourceCommand.ExecuteCommand(new ExecuteCommandContext 1368var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 1503var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 1561var result = await command.ExecuteCommand(new ExecuteCommandContext 1612var queuedReprovisionTask = queuedReprovisionCommand.ExecuteCommand(new ExecuteCommandContext 1624var result = await conflictingCommand.ExecuteCommand(new ExecuteCommandContext 1708var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 1792var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 1886var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 1957var commandTask = deleteCommand.ExecuteCommand(new ExecuteCommandContext 2035var deleteTask = deleteCommand.ExecuteCommand(new ExecuteCommandContext 2049var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2114var result = await forgetCommand.ExecuteCommand(new ExecuteCommandContext 2178var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2232var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2292var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2369var storageTask = reprovisionStorageCommand.ExecuteCommand(new ExecuteCommandContext 2383var storage2Task = reprovisionStorage2Command.ExecuteCommand(new ExecuteCommandContext 2446var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2463var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2544var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2590var result = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2643var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 2657var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext 2710var commandTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 2783var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 2836var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 2896var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 2957var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3027var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3088var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3157var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3214var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3277var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3348var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 3403var result = await reprovisionAllCommand.ExecuteCommand(new ExecuteCommandContext 3443var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3517var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3565var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3621var result = await changeContextCommand.ExecuteCommand(new ExecuteCommandContext 3768var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 3847var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 3919var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 3999var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4073var commandTask = reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4125var executionTask = changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 4171var result = await changeLocationCommand.ExecuteCommand(new ExecuteCommandContext 4217var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4285var result = await reprovisionCommand.ExecuteCommand(new ExecuteCommandContext 4524var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 4576var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 4623var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 4671var result = await deleteCommand.ExecuteCommand(new ExecuteCommandContext 4809var cancelResult = await cancelCommand.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
247var result = await debugCommand.ExecuteCommand(new ExecuteCommandContext
WithBlazorAppTests.cs (1)
320var result = await command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
467var commandTask = command.ExecuteCommand(new ExecuteCommandContext 519var commandTask = command.ExecuteCommand(new ExecuteCommandContext 567var commandTask = command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
99var result = await command.ExecuteCommand(new ExecuteCommandContext
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
446return await originalStop.ExecuteCommand(context).ConfigureAwait(false);
Aspire.Hosting.Maui.Tests (2)
MauiBuildQueueTests.cs (2)
567var result = await stopCommand.ExecuteCommand(CreateExecuteCommandContext(env)); 600var result = await stopCommand.ExecuteCommand(CreateExecuteCommandContext(env));