17 instantiations of ProgressInteractionOptions
Aspire.Hosting (3)
ApplicationModel\ResourceCommandService.cs (1)
432var options = new ProgressInteractionOptions
Ats\InteractionExports.cs (1)
788return new ProgressInteractionOptions
IInteractionService.cs (1)
918internal static ProgressInteractionOptions CreateDefault() => new();
Aspire.Hosting.Tests (7)
InteractionServiceTests.cs (7)
177() => interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions { Title = "Working..." })).DefaultTimeout(); 1135var result = await interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1157var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1190var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1224var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions 1257var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions { Title = "Working..." }, cancellationToken: cts.Token); 1276var resultTask = interactionService.PromptProgressAsync("Please wait", new ProgressInteractionOptions
Stress.AppHost (7)
InteractionCommands.cs (7)
801new ProgressInteractionOptions 830options: new ProgressInteractionOptions 859new ProgressInteractionOptions { Title = "Processing" }, 881new ProgressInteractionOptions 904options: new ProgressInteractionOptions 927new ProgressInteractionOptions 952new 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)
108/// If <see cref="ProgressInteractionOptions.Work"/> is provided, the dialog remains open while the callback executes 125Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default); 918internal static ProgressInteractionOptions CreateDefault() => new();
InteractionService.cs (2)
291public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default) 300options ??= ProgressInteractionOptions.CreateDefault();
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
76public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
76public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
76public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
76public 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)
76public async Task<InteractionResult<bool>> PromptProgressAsync(string message, ProgressInteractionOptions? options = null, CancellationToken cancellationToken = default)