133 references to InteractionInputCollection
Aspire.Hosting (13)
ApplicationModel\HttpCommandContext.cs (2)
58public InteractionInputCollection Arguments { get; init; } = new([]); 145public InteractionInputCollection Arguments { get; init; } = new([]);
ApplicationModel\ProcessCommandResultContext.cs (1)
64public InteractionInputCollection Arguments { get; init; } = new([]);
ApplicationModel\ResourceCommandService.cs (5)
732return new InteractionInputCollection([]); 748return new InteractionInputCollection(inputs); 755return new InteractionInputCollection([]); 769return new InteractionInputCollection(inputs); 827return new InteractionInputCollection(inputs);
Ats\InteractionExports.cs (2)
878? new InteractionInputCollection([]) 879: new InteractionInputCollection(result.Data.Select(InteractionExports.ToResultInput).ToArray());
InteractionService.cs (2)
161var inputCollection = new InteractionInputCollection(inputs); 255return InteractionResult.Ok(new InteractionInputCollection(inputState));
ResourceBuilderExtensions.cs (1)
3006_ = new InteractionInputCollection(arguments);
Aspire.Hosting.Azure.Tests (58)
AzureEnvironmentResourceExtensionsTests.cs (52)
362Arguments = new InteractionInputCollection([]) 416Arguments = new InteractionInputCollection([]) 835Arguments = new InteractionInputCollection([]) 919Arguments = new InteractionInputCollection([]) 1188Arguments = new InteractionInputCollection([]) 1252Arguments = new InteractionInputCollection([]) 1313Arguments = new InteractionInputCollection([]) 1374Arguments = new InteractionInputCollection([]) 1509Arguments = new InteractionInputCollection([]) 1567Arguments = new InteractionInputCollection([]) 1618Arguments = new InteractionInputCollection([]) 1630Arguments = new InteractionInputCollection([]) 1714Arguments = new InteractionInputCollection([]) 1798Arguments = new InteractionInputCollection([]) 1892Arguments = new InteractionInputCollection([]) 1963Arguments = new InteractionInputCollection([]) 2041Arguments = new InteractionInputCollection([]) 2055Arguments = new InteractionInputCollection([]) 2120Arguments = new InteractionInputCollection([]) 2184Arguments = new InteractionInputCollection([]) 2238Arguments = new InteractionInputCollection([]) 2298Arguments = new InteractionInputCollection([]) 2375Arguments = new InteractionInputCollection([]) 2389Arguments = new InteractionInputCollection([]) 2452Arguments = new InteractionInputCollection([]) 2469Arguments = new InteractionInputCollection([]) 2550Arguments = new InteractionInputCollection([]) 2596Arguments = new InteractionInputCollection([]) 2649Arguments = new InteractionInputCollection([]) 2663Arguments = new InteractionInputCollection([]) 2789Arguments = new InteractionInputCollection([]) 2963Arguments = new InteractionInputCollection([]) 3094Arguments = new InteractionInputCollection([]) 3220Arguments = new InteractionInputCollection([]) 3283Arguments = new InteractionInputCollection([]) 3409Arguments = new InteractionInputCollection([]) 3774Arguments = new InteractionInputCollection([]) 3853Arguments = new InteractionInputCollection([]) 3925Arguments = new InteractionInputCollection([]) 4005Arguments = new InteractionInputCollection([]) 4079Arguments = new InteractionInputCollection([]) 4131Arguments = new InteractionInputCollection([]) 4179: new InteractionInputCollection([]) 4223Arguments = new InteractionInputCollection([]) 4291Arguments = new InteractionInputCollection([]) 4530Arguments = new InteractionInputCollection([]) 4582Arguments = new InteractionInputCollection([]) 4629Arguments = new InteractionInputCollection([]) 4677Arguments = new InteractionInputCollection([]) 4815Arguments = new InteractionInputCollection([]) 4985return new InteractionInputCollection([.. values.Select(static value => new InteractionInput 4995return new InteractionInputCollection([.. inputs.Select(static input => new InteractionInput
tests\Shared\TestInteractionService.cs (6)
39var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 47var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 57return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 62var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 69var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 85var data = new InteractionData(InteractionType.Progress, options.Title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
253Arguments = new InteractionInputCollection([])
WithBlazorAppTests.cs (1)
326Arguments = new InteractionInputCollection([])
Aspire.Hosting.Browsers.Tests (11)
BrowserLogsBuilderExtensionsTests.cs (5)
109AllInputs = new InteractionInputCollection(arguments), 116AllInputs = new InteractionInputCollection(arguments), 123AllInputs = new InteractionInputCollection(arguments), 162AllInputs = new InteractionInputCollection(arguments), 1735return new InteractionInputCollection(
tests\Shared\TestInteractionService.cs (6)
39var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 47var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 57return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 62var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 69var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 85var data = new InteractionData(InteractionType.Progress, options.Title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
Aspire.Hosting.DevTunnels.Tests (9)
DevTunnelResourceBuilderExtensionsTests.cs (3)
471Arguments = new InteractionInputCollection([]), 523Arguments = new InteractionInputCollection([]), 571Arguments = new InteractionInputCollection([]),
tests\Shared\TestInteractionService.cs (6)
39var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 47var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 57return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 62var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 69var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 85var data = new InteractionData(InteractionType.Progress, options.Title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
Aspire.Hosting.Foundry.Tests (3)
HostedAgentExtensionTests.cs (2)
108var arguments = new InteractionInputCollection( 173var arguments = new InteractionInputCollection(
PromptAgentTests.cs (1)
105Arguments = new InteractionInputCollection(
Aspire.Hosting.Maui.Tests (1)
MauiBuildQueueTests.cs (1)
782Arguments = new InteractionInputCollection([])
Aspire.Hosting.RemoteHost.Tests (6)
tests\Shared\TestInteractionService.cs (6)
39var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 47var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 57return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 62var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 69var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 85var data = new InteractionData(InteractionType.Progress, options.Title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
Aspire.Hosting.Tests (30)
InteractionServiceTests.cs (8)
649var collection = new InteractionInputCollection(inputs); 689var collection = new InteractionInputCollection(inputs); 723var collection = new InteractionInputCollection(inputs); 745var exception = Assert.Throws<InvalidOperationException>(() => new InteractionInputCollection(inputs)); 760var exception = Assert.Throws<InvalidOperationException>(() => new InteractionInputCollection(inputs)); 776var collection = new InteractionInputCollection(inputs); 809var collection = new InteractionInputCollection(inputs); 842var collection = new InteractionInputCollection(inputs);
Orchestrator\ParameterProcessorTests.cs (8)
928var arguments = new InteractionInputCollection(setValueCommand.Arguments); 953var arguments = new InteractionInputCollection(setValueCommand.Arguments); 987var arguments = new InteractionInputCollection(setValueCommand.Arguments); 1025var arguments = new InteractionInputCollection(deleteCommand.Arguments); 1057var arguments = new InteractionInputCollection(deleteCommand.Arguments); 1235return new InteractionInputCollection([ 1253return new InteractionInputCollection([ 1547var result = await parameterProcessor.DeleteParameterCoreAsync(parameter, new InteractionInputCollection([]), CancellationToken.None).DefaultTimeout();
ResourceCommandServiceTests.cs (3)
540var arguments = new InteractionInputCollection( 675var arguments = new InteractionInputCollection( 1533var arguments = new InteractionInputCollection(
tests\Shared\TestInteractionService.cs (6)
39var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 47var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 57return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 62var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 69var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 85var data = new InteractionData(InteractionType.Progress, options.Title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>());
WithHttpCommandTests.cs (2)
377var arguments = new InteractionInputCollection( 778var arguments = new InteractionInputCollection(
WithProcessCommandTests.cs (3)
180var arguments = new InteractionInputCollection( 259var arguments = new InteractionInputCollection( 374var arguments = new InteractionInputCollection(