20 writes to RunAppHostCommandAsyncCallback
Aspire.Cli.Tests (20)
Projects\DotNetAppHostProjectTests.cs (20)
1062runner.RunAppHostCommandAsyncCallback = (projectFile, command, workingDirectory, args, env, _, options, _) => 1158runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, options, _) => 1221RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 1283RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not substitute the default profile.") 1326RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not ignore an explicit launch profile.") 1369RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not choose between ambiguous profile names.") 1410RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept an SDK-invalid command name.") 1458RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept a profile that the SDK cannot deserialize.") 1502RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not collapse duplicate profile properties.") 1557runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, options, _) => 1611RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when disabled.") 1771runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 1827runner.RunAppHostCommandAsyncCallback = (_, _, _, args, env, _, _, _) => 1882runner.RunAppHostCommandAsyncCallback = (_, command, _, args, _, _, _, _) => 1944runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 2007runner.RunAppHostCommandAsyncCallback = (_, command, _, _, env, _, _, _) => 2064RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used for executable launch profiles.") 2124RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when launch settings do not contain a usable profile.") 2194runner.RunAppHostCommandAsyncCallback = (_, command, _, _, env, _, _, _) => 2990RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => 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)
187if (RunAppHostCommandAsyncCallback is not null) 189return RunAppHostCommandAsyncCallback(projectFile, command, workingDirectory, args, env, backchannelCompletionSource, options, cancellationToken);