8 implementations of StartAsync
aspire (1)
src\Shared\ChildProcess.cs (1)
108public Task<bool> StartAsync(CancellationToken cancellationToken)
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (3)
1610public async Task<bool> StartAsync(CancellationToken cancellationToken) 1655public Task<bool> StartAsync(CancellationToken cancellationToken) 1723public Task<bool> StartAsync(CancellationToken cancellationToken)
Commands\StartCommandTests.cs (1)
753public Task<bool> StartAsync(CancellationToken cancellationToken)
DotNet\DotNetCliRunnerTests.cs (1)
2759public Task<bool> StartAsync(CancellationToken cancellationToken)
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1856public Task<bool> StartAsync(CancellationToken cancellationToken)
TestServices\TestProcessExecutionFactory.cs (1)
249public Task<bool> StartAsync(CancellationToken cancellationToken)
29 references to StartAsync
aspire (15)
Commands\AppHostLauncher.cs (1)
457await childProcess.StartAsync(cancellationToken).ConfigureAwait(false);
DotNet\DotNetCliRunner.cs (1)
298var started = await execution.StartAsync(cancellationToken).ConfigureAwait(false);
Layout\LayoutProcessRunner.cs (2)
45if (!await execution.StartAsync(ct).ConfigureAwait(false)) 87if (!await execution.StartAsync(CancellationToken.None).ConfigureAwait(false))
Projects\DotNetBasedAppHostServerProject.cs (1)
649await execution.StartAsync(CancellationToken.None).ConfigureAwait(false);
Projects\GuestAppHostProject.cs (1)
1039if (!await execution.StartAsync(cancellationToken).ConfigureAwait(false))
Projects\PrebuiltAppHostServer.cs (1)
1364await execution.StartAsync(CancellationToken.None).ConfigureAwait(false);
Projects\ProcessGuestLauncher.cs (1)
149await execution.StartAsync(cancellationToken).ConfigureAwait(false);
src\Shared\ChildProcess.cs (1)
21/// spawned lazily on <see cref="IChildProcess.StartAsync"/> so callers that build an execution but never start it (e.g.
src\Shared\IChildProcess.cs (3)
37/// Gets the process ID. Only valid after <see cref="StartAsync"/> returns <c>true</c>. 42/// Gets the process start time, when available. Only valid after <see cref="StartAsync"/> returns <c>true</c>. 59/// Gets a value indicating whether the process has exited. Only valid after <see cref="StartAsync"/> returns <c>true</c>.
Telemetry\InternalMicrosoftDetector.cs (1)
1146if (!await execution.StartAsync(timeoutCts.Token).ConfigureAwait(false))
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
273if (!await process.StartAsync(cancellationToken).ConfigureAwait(false))
Utils\EnvironmentChecker\DevCertsCheck.cs (1)
429started = await process.StartAsync(cancellationToken).ConfigureAwait(false);
Aspire.Cli.Tests (14)
DotNet\OwnedProcessExecutionTests.cs (1)
38await execution.StartAsync(TestContext.Current.CancellationToken);
DotNet\ProcessExecutionDetachedTests.cs (3)
35Assert.True(await child.StartAsync(TestContext.Current.CancellationToken)); 68Assert.True(await child.StartAsync(CancellationToken.None)); 104Assert.True(await detachedProcess.StartAsync(CancellationToken.None));
DotNet\ProcessExecutionFactoryEnvironmentTests.cs (2)
35Assert.True(await execution.StartAsync(TestContext.Current.CancellationToken)); 98Assert.True(await execution.StartAsync(TestContext.Current.CancellationToken));
DotNet\ProcessExecutionTests.cs (5)
33await execution.StartAsync(TestContext.Current.CancellationToken); 62Assert.True(await execution.StartAsync(CancellationToken.None)); 93Assert.True(await execution.StartAsync(CancellationToken.None)); 123Assert.True(await execution.StartAsync(CancellationToken.None)); 213Assert.True(await execution.StartAsync(CancellationToken.None));
Projects\AppHostServerSessionTests.cs (3)
214await execution.StartAsync(TestContext.Current.CancellationToken); 697await execution.StartAsync(CancellationToken.None); 748await execution.StartAsync(CancellationToken.None);