20 writes to RunAppHostCommandAsyncCallback
Aspire.Cli.Tests (20)
Projects\DotNetAppHostProjectTests.cs (20)
1092runner.RunAppHostCommandAsyncCallback = (projectFile, command, workingDirectory, args, env, _, options, _) => 1189runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, options, _) => 1252RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 1314RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not substitute the default profile.") 1357RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not ignore an explicit launch profile.") 1400RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not choose between ambiguous profile names.") 1441RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept an SDK-invalid command name.") 1489RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept a profile that the SDK cannot deserialize.") 1533RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not collapse duplicate profile properties.") 1588runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, options, _) => 1642RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when disabled.") 1802runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 1858runner.RunAppHostCommandAsyncCallback = (_, _, _, args, env, _, _, _) => 1913runner.RunAppHostCommandAsyncCallback = (_, command, _, args, _, _, _, _) => 1975runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 2038runner.RunAppHostCommandAsyncCallback = (_, command, _, _, env, _, _, _) => 2095RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used for executable launch profiles.") 2155RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when launch settings do not contain a usable profile.") 2225runner.RunAppHostCommandAsyncCallback = (_, command, _, _, env, _, _, _) => 3050RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => 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)
214if (RunAppHostCommandAsyncCallback is not null) 216return RunAppHostCommandAsyncCallback(projectFile, command, workingDirectory, args, env, backchannelCompletionSource, options, cancellationToken);