12 references to ExecuteCommandAsync
Aspire.Hosting.Tests (12)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
361
await app.ResourceCommands.
ExecuteCommandAsync
("redis", KnownResourceCommands.StopCommand);
ResourceCommandServiceTests.cs (11)
41
var result = await app.ResourceCommands.
ExecuteCommandAsync
("NotFoundResourceId", "NotFound");
64
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "NotFound");
155
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
444
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "resource-stop");
926
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
964
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
1697
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "mycommand");
1863
var resultTask = app.ResourceCommands.
ExecuteCommandAsync
("myResource", "cancelable-command");
1917
var resultTask = app.ResourceCommands.
ExecuteCommandAsync
("myResource", "cancelable-command");
1958
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "progress-command");
1989
var result = await app.ResourceCommands.
ExecuteCommandAsync
("myResource", "success-command");