8 implementations of StartAsync
aspire (1)
src\Shared\ChildProcess.cs (1)
108
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (3)
1610
public async Task<bool>
StartAsync
(CancellationToken cancellationToken)
1655
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
1723
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
Commands\StartCommandTests.cs (1)
753
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
DotNet\DotNetCliRunnerTests.cs (1)
2759
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1856
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
TestServices\TestProcessExecutionFactory.cs (1)
249
public Task<bool>
StartAsync
(CancellationToken cancellationToken)
29 references to StartAsync
aspire (15)
Commands\AppHostLauncher.cs (1)
457
await childProcess.
StartAsync
(cancellationToken).ConfigureAwait(false);
DotNet\DotNetCliRunner.cs (1)
298
var started = await execution.
StartAsync
(cancellationToken).ConfigureAwait(false);
Layout\LayoutProcessRunner.cs (2)
45
if (!await execution.
StartAsync
(ct).ConfigureAwait(false))
87
if (!await execution.
StartAsync
(CancellationToken.None).ConfigureAwait(false))
Projects\DotNetBasedAppHostServerProject.cs (1)
649
await execution.
StartAsync
(CancellationToken.None).ConfigureAwait(false);
Projects\GuestAppHostProject.cs (1)
1039
if (!await execution.
StartAsync
(cancellationToken).ConfigureAwait(false))
Projects\PrebuiltAppHostServer.cs (1)
1364
await execution.
StartAsync
(CancellationToken.None).ConfigureAwait(false);
Projects\ProcessGuestLauncher.cs (1)
149
await 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)
1146
if (!await execution.
StartAsync
(timeoutCts.Token).ConfigureAwait(false))
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
273
if (!await process.
StartAsync
(cancellationToken).ConfigureAwait(false))
Utils\EnvironmentChecker\DevCertsCheck.cs (1)
429
started = await process.
StartAsync
(cancellationToken).ConfigureAwait(false);
Aspire.Cli.Tests (14)
DotNet\OwnedProcessExecutionTests.cs (1)
38
await execution.
StartAsync
(TestContext.Current.CancellationToken);
DotNet\ProcessExecutionDetachedTests.cs (3)
35
Assert.True(await child.
StartAsync
(TestContext.Current.CancellationToken));
68
Assert.True(await child.
StartAsync
(CancellationToken.None));
104
Assert.True(await detachedProcess.
StartAsync
(CancellationToken.None));
DotNet\ProcessExecutionFactoryEnvironmentTests.cs (2)
35
Assert.True(await execution.
StartAsync
(TestContext.Current.CancellationToken));
98
Assert.True(await execution.
StartAsync
(TestContext.Current.CancellationToken));
DotNet\ProcessExecutionTests.cs (5)
33
await execution.
StartAsync
(TestContext.Current.CancellationToken);
62
Assert.True(await execution.
StartAsync
(CancellationToken.None));
93
Assert.True(await execution.
StartAsync
(CancellationToken.None));
123
Assert.True(await execution.
StartAsync
(CancellationToken.None));
213
Assert.True(await execution.
StartAsync
(CancellationToken.None));
Projects\AppHostServerSessionTests.cs (3)
214
await execution.
StartAsync
(TestContext.Current.CancellationToken);
697
await execution.
StartAsync
(CancellationToken.None);
748
await execution.
StartAsync
(CancellationToken.None);