21 writes to RunAppHostCommandAsyncCallback
Aspire.Cli.Tests (21)
Projects\DotNetAppHostProjectTests.cs (21)
1166runner.RunAppHostCommandAsyncCallback = (projectFile, command, workingDirectory, args, env, _, options, _) => 1263runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, options, _) => 1326RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 1388RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not substitute the default profile.") 1431RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not ignore an explicit launch profile.") 1474RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not choose between ambiguous profile names.") 1515RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept an SDK-invalid command name.") 1563RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not accept a profile that the SDK cannot deserialize.") 1607RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct launch should not collapse duplicate profile properties.") 1662runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, options, _) => 1716RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when disabled.") 1830RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, options, _) => 1905runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 1961runner.RunAppHostCommandAsyncCallback = (_, _, _, args, env, _, _, _) => 2016runner.RunAppHostCommandAsyncCallback = (_, command, _, args, _, _, _, _) => 2078runner.RunAppHostCommandAsyncCallback = (_, command, _, args, env, _, _, _) => 2141runner.RunAppHostCommandAsyncCallback = (_, command, _, _, env, _, _, _) => 2198RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used for executable launch profiles.") 2258RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => throw new InvalidOperationException("direct AppHost launch should not be used when launch settings do not contain a usable profile.") 2328runner.RunAppHostCommandAsyncCallback = (_, command, _, _, env, _, _, _) => 3153RunAppHostCommandAsyncCallback = (_, _, _, _, _, _, _, _) => 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)
216if (RunAppHostCommandAsyncCallback is not null) 218return RunAppHostCommandAsyncCallback(projectFile, command, workingDirectory, args, env, backchannelCompletionSource, options, cancellationToken);