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)
3260public 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)
32 references to StartAsync
aspire (18)
Commands\AppHostLauncher.cs (1)
457await childProcess.StartAsync(cancellationToken).ConfigureAwait(false);
DotNet\DotNetCliRunner.cs (1)
330var 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)
669await execution.StartAsync(CancellationToken.None).ConfigureAwait(false);
Projects\GuestAppHostProject.cs (1)
1119if (!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)
835await 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)
370if (!await process.StartAsync(timeoutCts.Token).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)
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)
214await execution.StartAsync(TestContext.Current.CancellationToken); 712await execution.StartAsync(CancellationToken.None); 764await execution.StartAsync(CancellationToken.None);