16 references to ExecuteCommandAsync
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (2)
119return await ExecuteCommandAsync(resource, commandName, arguments, cancellationToken).ConfigureAwait(false); 323return await ExecuteCommandAsync(resource, commandName, result.Arguments, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Browsers.Tests (7)
BrowserLogsBuilderExtensionsTests.cs (7)
484var result = await app.ResourceCommands.ExecuteCommandAsync(browserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments); 527var result = await app.ResourceCommands.ExecuteCommandAsync(browserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments); 567var result = await app.ResourceCommands.ExecuteCommandAsync(browserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments); 606var result = await app.ResourceCommands.ExecuteCommandAsync(browserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments); 651var result = await app.ResourceCommands.ExecuteCommandAsync(browserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments); 704var result = await app.ResourceCommands.ExecuteCommandAsync(webBrowserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments); 741var result = await app.ResourceCommands.ExecuteCommandAsync(browserLogsResource, BrowserLogsBuilderExtensions.ConfigureTrackedBrowserCommandName, arguments);
Aspire.Hosting.Foundry.Tests (2)
HostedAgentExtensionTests.cs (2)
118var result = await app.ResourceCommands.ExecuteCommandAsync(resource, command.Name, arguments); 183var result = await app.ResourceCommands.ExecuteCommandAsync(agent.Resource, "send-message", arguments);
Aspire.Hosting.Tests (5)
WithHttpCommandTests.cs (2)
387var result = await app.ResourceCommands.ExecuteCommandAsync(service.Resource, "mycommand", arguments).DefaultTimeout(); 788var result = await app.ResourceCommands.ExecuteCommandAsync(service.Resource, "mycommand", arguments).DefaultTimeout();
WithProcessCommandTests.cs (3)
190var result = await app.ResourceCommands.ExecuteCommandAsync(resource.Resource, "options-callback-command", arguments).DefaultTimeout(); 269var result = await app.ResourceCommands.ExecuteCommandAsync(resource.Resource, "factory-command", arguments).DefaultTimeout(); 384var result = await app.ResourceCommands.ExecuteCommandAsync(resource.Resource, "echo-argument", arguments).DefaultTimeout();