12 references to ExecuteCommandAsync
Aspire.Hosting.Tests (12)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
361
await app.ResourceCommands.
ExecuteCommandAsync
("redis", KnownResourceCommands.StopCommand);
ResourceCommandServiceTests.cs (11)
40
var result = await app.ResourceCommands.
ExecuteCommandAsync
("NotFoundResourceId", "NotFound");
63
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "NotFound");
154
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
443
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "resource-stop");
925
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
963
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
1594
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
1750
var resultTask = app.ResourceCommands.
ExecuteCommandAsync
("myResource", "cancelable-command");
1804
var resultTask = app.ResourceCommands.
ExecuteCommandAsync
("myResource", "cancelable-command");
1845
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "progress-command");
1876
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "success-command");