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)
791public Task<bool> StartAsync(CancellationToken cancellationToken)
DotNet\DotNetCliRunnerTests.cs (1)
3503public Task<bool> StartAsync(CancellationToken cancellationToken)
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1910public Task<bool> StartAsync(CancellationToken cancellationToken)
TestServices\TestProcessExecutionFactory.cs (1)
248public Task<bool> StartAsync(CancellationToken cancellationToken)
33 references to StartAsync
aspire (18)
Commands\AppHostLauncher.cs (1)
476await childProcess.StartAsync(cancellationToken).ConfigureAwait(false);
DotNet\DotNetCliRunner.cs (1)
341var 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)
672await execution.StartAsync(CancellationToken.None).ConfigureAwait(false);
Projects\GuestAppHostProject.cs (1)
1123if (!await execution.StartAsync(cancellationToken).ConfigureAwait(false))
Projects\NativeAppHostServerProject.cs (2)
147await execution.StartAsync(cancellationToken).ConfigureAwait(false); 268await execution.StartAsync(CancellationToken.None).ConfigureAwait(false);
Projects\PrebuiltAppHostServer.cs (1)
837await 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>.
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1164if (!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);
Utils\EnvironmentChecker\GoAppHostToolingCheck.cs (1)
369if (!await process.StartAsync(timeoutCts.Token).ConfigureAwait(false))
Aspire.Cli.Tests (15)
DotNet\OwnedProcessExecutionTests.cs (1)
38await execution.StartAsync(TestContext.Current.CancellationToken);
DotNet\ProcessExecutionDetachedTests.cs (3)
38Assert.True(await child.StartAsync(TestContext.Current.CancellationToken)); 71Assert.True(await child.StartAsync(CancellationToken.None)); 107Assert.True(await detachedProcess.StartAsync(CancellationToken.None));
DotNet\ProcessExecutionFactoryEnvironmentTests.cs (3)
46Assert.True(await execution.StartAsync(TestContext.Current.CancellationToken)); 76Assert.True(await execution.StartAsync(TestContext.Current.CancellationToken)); 139Assert.True(await execution.StartAsync(TestContext.Current.CancellationToken));
DotNet\ProcessExecutionTests.cs (5)
37await execution.StartAsync(TestContext.Current.CancellationToken); 75Assert.True(await execution.StartAsync(CancellationToken.None)); 115Assert.True(await execution.StartAsync(CancellationToken.None)); 152Assert.True(await execution.StartAsync(CancellationToken.None)); 244Assert.True(await execution.StartAsync(CancellationToken.None));
Projects\AppHostServerSessionTests.cs (3)
212await execution.StartAsync(TestContext.Current.CancellationToken); 711await execution.StartAsync(CancellationToken.None); 763await execution.StartAsync(CancellationToken.None);