14 references to InteractionType
Aspire.Hosting.Tests (14)
AtsInteractionExportsTests.cs (1)
31
Assert.Equal(
InteractionType
.Progress, interaction.Type);
Orchestrator\ParameterProcessorTests.cs (3)
444
if (prompt.Type ==
InteractionType
.Notification)
473
if (prompt.Type ==
InteractionType
.Notification)
2194
if (interaction is { Type:
InteractionType
.Notification })
ResourceCommandServiceTests.cs (2)
1869
Assert.Equal(
InteractionType
.Progress, interaction.Type);
1922
Assert.Equal(
InteractionType
.Progress, interaction.Type);
tests\Shared\TestInteractionService.cs (8)
22
internal sealed record InteractionData(
InteractionType
Type, string Title, string? Message, InteractionInputCollection Inputs, InteractionOptions? Options, CancellationToken CancellationToken, TaskCompletionSource<object> CompletionTcs)
45
var data = new InteractionData(
InteractionType
.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>());
53
var data = new InteractionData(
InteractionType
.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>());
68
var data = new InteractionData(
InteractionType
.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
75
var data = new InteractionData(
InteractionType
.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
87
InteractionType
.Progress, options?.Title, message, options, terminal: null,
95
InteractionType
.Terminal, options?.Title, message, options, terminal,
101
InteractionType
type, string? title, string message, InteractionOptions? options, AspireTerminal? terminal,