Implemented interface member:
method
StartAsync
Aspire.Shared.IChildProcess.StartAsync(System.Threading.CancellationToken)
23 references to StartAsync
aspire (2)
DotNet\ProcessExecutionFactory.cs (1)
129
/// <see cref="Aspire.Shared.ChildProcess.
StartAsync
"/> so an execution that is never started holds no handles.
src\Shared\ProcessSupervisor.cs (1)
147
if (!await process.
StartAsync
(CancellationToken.None).ConfigureAwait(false))
Aspire.Cli.Tests (21)
tests\Shared\Processes\ChildProcessTests.cs (15)
26
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => process.
StartAsync
(cancellation.Token));
29
await Assert.ThrowsAsync<ObjectDisposedException>(() => process.
StartAsync
(TestContext.Current.CancellationToken));
52
await process.
StartAsync
(TestContext.Current.CancellationToken);
84
await process.
StartAsync
(TestContext.Current.CancellationToken);
111
await process.
StartAsync
(TestContext.Current.CancellationToken);
113
await Assert.ThrowsAsync<InvalidOperationException>(() => process.
StartAsync
(TestContext.Current.CancellationToken));
121
await process.
StartAsync
(TestContext.Current.CancellationToken);
137
await process.
StartAsync
(TestContext.Current.CancellationToken);
164
await process.
StartAsync
(TestContext.Current.CancellationToken);
203
await process.
StartAsync
(TestContext.Current.CancellationToken);
241
await process.
StartAsync
(TestContext.Current.CancellationToken);
301
await process.
StartAsync
(TestContext.Current.CancellationToken);
360
await process.
StartAsync
(TestContext.Current.CancellationToken);
420
await process.
StartAsync
(TestContext.Current.CancellationToken);
450
await process.
StartAsync
(TestContext.Current.CancellationToken);
tests\Shared\Processes\ProcessSupervisorTests.cs (6)
59
await process.
StartAsync
(TestContext.Current.CancellationToken);
79
await guardian.
StartAsync
(TestContext.Current.CancellationToken);
102
await guardian.
StartAsync
(TestContext.Current.CancellationToken);
121
await guardian.
StartAsync
(TestContext.Current.CancellationToken);
140
await guardian.
StartAsync
(TestContext.Current.CancellationToken);
165
await owner.
StartAsync
(TestContext.Current.CancellationToken);