7 references to InteractionType
Aspire.Hosting.DevTunnels.Tests (7)
DevTunnelResourceBuilderExtensionsTests.cs (1)
484
Assert.Equal(
InteractionType
.MessageBox, interaction.Type);
tests\Shared\TestInteractionService.cs (6)
19
internal sealed record InteractionData(
InteractionType
Type, string Title, string? Message, InteractionInputCollection Inputs, InteractionOptions? Options, CancellationToken CancellationToken, TaskCompletionSource<object> CompletionTcs);
39
var data = new InteractionData(
InteractionType
.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>());
47
var data = new InteractionData(
InteractionType
.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>());
62
var data = new InteractionData(
InteractionType
.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
69
var data = new InteractionData(
InteractionType
.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
85
var data = new InteractionData(
InteractionType
.Progress, options.Title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());