6 instantiations of ProgressContext
Aspire.Hosting (1)
InteractionService.cs (1)
300options.Work is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88options?.Work is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88options?.Work is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88options?.Work is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88options?.Work is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88options?.Work is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
5 references to ProgressContext
Aspire.Hosting (5)
Ats\AtsTypeMappings.cs (1)
62[assembly: AspireExport(typeof(ProgressContext), ExposeProperties = true)]
Ats\InteractionExports.cs (1)
784public Func<ProgressContext, Task>? Work { get; init; }
IInteractionService.cs (3)
115/// through the <see cref="ProgressContext.CancellationToken"/> provided to the work callback. 993/// when the callback completes. The <see cref="ProgressContext.CancellationToken"/> passed to the callback 998public Func<ProgressContext, Task>? Work { get; set; }