19 writes to RunAppHostCommandAsyncCallback
Aspire.Cli.Tests (19)
Projects\DotNetAppHostProjectTests.cs (19)
1035
runner.
RunAppHostCommandAsyncCallback
= (projectFile, command, workingDirectory, args, env, _, options, _) =>
1129
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, args, env, _, options, _) =>
1182
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not substitute the default profile.")
1221
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not ignore an explicit launch profile.")
1264
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not choose between ambiguous profile names.")
1305
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept an SDK-invalid command name.")
1353
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept a profile that the SDK cannot deserialize.")
1397
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not collapse duplicate profile properties.")
1452
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, args, env, _, options, _) =>
1506
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when disabled.")
1666
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, args, env, _, _, _) =>
1722
runner.
RunAppHostCommandAsyncCallback
= (_, _, _, args, env, _, _, _) =>
1777
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, args, _, _, _, _) =>
1839
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, args, env, _, _, _) =>
1902
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, _, env, _, _, _) =>
1959
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used for executable launch profiles.")
2019
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when launch settings do not contain a usable profile.")
2089
runner.
RunAppHostCommandAsyncCallback
= (_, command, _, _, env, _, _, _) =>
2588
RunAppHostCommandAsyncCallback
= (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when the run metadata is not directly launchable.")
2 references to RunAppHostCommandAsyncCallback
Aspire.Cli.Tests (2)
TestServices\TestDotNetCliRunner.cs (2)
169
if (
RunAppHostCommandAsyncCallback
is not null)
171
return
RunAppHostCommandAsyncCallback
(projectFile, command, workingDirectory, args, env, backchannelCompletionSource, options, cancellationToken);