19 instantiations of ProgressInteractionOptions
Aspire.Hosting (3)
ApplicationModel\ResourceCommandService.cs (1)
432var options = new ProgressInteractionOptions
Ats\InteractionExports.cs (1)
788return new ProgressInteractionOptions
IInteractionService.cs (1)
996internal static ProgressInteractionOptions CreateDefault() => new();
Aspire.Hosting.Tests (9)
InteractionServiceTests.cs (7)
177() => interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions { Title = "Working..." })).DefaultTimeout(); 1239var result = await interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1261var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1294var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1328var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1361var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions { Title = "Working..." }, cancellationToken: cts.Token); 1380var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions
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 (7)
InteractionCommands.cs (7)
898new ProgressInteractionOptions 927options: new ProgressInteractionOptions 956new ProgressInteractionOptions { Title = "Processing" }, 978new ProgressInteractionOptions 1001options: new ProgressInteractionOptions 1024new ProgressInteractionOptions 1049new ProgressInteractionOptions
16 references to ProgressInteractionOptions
Aspire.Hosting (7)
ApplicationModel\ResourceCommandService.cs (1)
432var options = new ProgressInteractionOptions
Ats\InteractionExports.cs (1)
786internal ProgressInteractionOptions ToOptions()
IInteractionService.cs (3)
114/// If <see cref="ProgressInteractionOptions.Work"/> is provided, the dialog remains open while the callback executes 131Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default); 996internal static ProgressInteractionOptions CreateDefault() => new();
InteractionService.cs (2)
302public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default) 304options ??= ProgressInteractionOptions.CreateDefault();
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
82public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
82public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
82public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
82public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (5)
AtsInteractionExportsTests.cs (4)
35var options = Assert.IsType<ProgressInteractionOptions>(interaction.Options); 60var options = Assert.IsType<ProgressInteractionOptions>(interaction.Options);
tests\Shared\TestInteractionService.cs (1)
82public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)