13 writes to Work
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (1)
435
Work
= async progress =>
Ats\InteractionExports.cs (1)
793
Work
= Work,
Aspire.Hosting.Tests (6)
InteractionServiceTests.cs (4)
1138
Work
= async ctx =>
1161
Work
= async ctx =>
1194
Work
= async ctx =>
1227
Work
= 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)
886
Work
= async ctx =>
913
Work
= async ctx =>
965
Work
= async ctx =>
988
Work
= async ctx =>
1013
Work
= 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)
300
options.
Work
is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88
options?.
Work
is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88
options?.
Work
is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88
options?.
Work
is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88
options?.
Work
is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
88
options?.
Work
is { } work ? token => work(new ProgressContext { CancellationToken = token }) : null,