6 instantiations of TerminalContext
Aspire.Hosting (1)
InteractionService.cs (1)
330options.Work is { } work ? token => work(new TerminalContext { CancellationToken = token }) : null,
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
96options?.Work is { } work ? token => work(new TerminalContext { CancellationToken = token }) : null,
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
96options?.Work is { } work ? token => work(new TerminalContext { CancellationToken = token }) : null,
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
96options?.Work is { } work ? token => work(new TerminalContext { CancellationToken = token }) : null,
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
96options?.Work is { } work ? token => work(new TerminalContext { CancellationToken = token }) : null,
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
96options?.Work is { } work ? token => work(new TerminalContext { CancellationToken = token }) : null,
4 references to TerminalContext
Aspire.Hosting (3)
IInteractionService.cs (3)
154/// User or external cancellation closes the dialog and signals <see cref="TerminalContext.CancellationToken"/>; 1034/// <see cref="TerminalContext.CancellationToken"/> and the prompt waits for the callback to finish. 1039public Func<TerminalContext, Task>? Work { get; set; }
Aspire.Hosting.Tests (1)
WithTerminalTests.cs (1)
39[InlineData(typeof(TerminalContext))]