12 references to ExecuteCommandAsync
Aspire.Hosting.Tests (12)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
393
await app.ResourceCommands.
ExecuteCommandAsync
("redis", KnownResourceCommands.StopCommand);
ResourceCommandServiceTests.cs (11)
42
var result = await app.ResourceCommands.
ExecuteCommandAsync
("NotFoundResourceId", "NotFound");
65
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "NotFound");
156
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
445
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "resource-stop");
927
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
965
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
1699
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
1952
var resultTask = app.ResourceCommands.
ExecuteCommandAsync
("myResource", "cancelable-command");
2006
var resultTask = app.ResourceCommands.
ExecuteCommandAsync
("myResource", "cancelable-command");
2047
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "progress-command");
2078
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "success-command");