13 writes to Work
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (1)
435Work = async progress =>
Ats\InteractionExports.cs (1)
793Work = Work,
Aspire.Hosting.Tests (6)
InteractionServiceTests.cs (4)
1138Work = async ctx => 1161Work = async ctx => 1194Work = async ctx => 1227Work = async ctx =>
Terminals\InteractionServiceTerminalTests.cs (2)
288? service.PromptProgressAsync("Message", new ProgressInteractionOptions { Work = context => Work(context.CancellationToken) }, cts.Token) 348? service.PromptProgressAsync("Message", new ProgressInteractionOptions { Work = _ => throw failure })
Stress.AppHost (5)
InteractionCommands.cs (5)
886Work = async ctx => 913Work = async ctx => 965Work = async ctx => 988Work = async ctx => 1013Work = async ctx =>
7 references to Work
Aspire.Hosting (2)
IInteractionService.cs (1)
109/// If <see cref="ProgressInteractionOptions.Work"/> is provided, the dialog remains open while the callback executes
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,