150 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)
165var inputCollection = new InteractionInputCollection(inputs); 259return InteractionResult.Ok(new InteractionInputCollection(inputState));
ResourceBuilderExtensions.cs (1)
3377_ = new InteractionInputCollection(arguments);
Aspire.Hosting.Azure.Tests (61)
AzureEnvironmentResourceExtensionsTests.cs (55)
113Arguments = new InteractionInputCollection([]) 185Arguments = new InteractionInputCollection([]) 310Arguments = new InteractionInputCollection([ 658Arguments = new InteractionInputCollection([]) 712Arguments = new InteractionInputCollection([]) 1153Arguments = new InteractionInputCollection([]) 1237Arguments = new InteractionInputCollection([]) 1506Arguments = new InteractionInputCollection([]) 1570Arguments = new InteractionInputCollection([]) 1631Arguments = new InteractionInputCollection([]) 1692Arguments = new InteractionInputCollection([]) 1827Arguments = new InteractionInputCollection([]) 1885Arguments = new InteractionInputCollection([]) 1936Arguments = new InteractionInputCollection([]) 1948Arguments = new InteractionInputCollection([]) 2032Arguments = new InteractionInputCollection([]) 2116Arguments = new InteractionInputCollection([]) 2210Arguments = new InteractionInputCollection([]) 2281Arguments = new InteractionInputCollection([]) 2359Arguments = new InteractionInputCollection([]) 2373Arguments = new InteractionInputCollection([]) 2438Arguments = new InteractionInputCollection([]) 2502Arguments = new InteractionInputCollection([]) 2556Arguments = new InteractionInputCollection([]) 2616Arguments = new InteractionInputCollection([]) 2693Arguments = new InteractionInputCollection([]) 2707Arguments = new InteractionInputCollection([]) 2770Arguments = new InteractionInputCollection([]) 2787Arguments = new InteractionInputCollection([]) 2868Arguments = new InteractionInputCollection([]) 2914Arguments = new InteractionInputCollection([]) 2967Arguments = new InteractionInputCollection([]) 2981Arguments = new InteractionInputCollection([]) 3107Arguments = new InteractionInputCollection([]) 3281Arguments = new InteractionInputCollection([]) 3412Arguments = new InteractionInputCollection([]) 3538Arguments = new InteractionInputCollection([]) 3601Arguments = new InteractionInputCollection([]) 3727Arguments = new InteractionInputCollection([]) 4092Arguments = new InteractionInputCollection([]) 4171Arguments = new InteractionInputCollection([]) 4243Arguments = new InteractionInputCollection([]) 4323Arguments = new InteractionInputCollection([]) 4397Arguments = new InteractionInputCollection([]) 4449Arguments = new InteractionInputCollection([]) 4497: new InteractionInputCollection([]) 4541Arguments = new InteractionInputCollection([]) 4609Arguments = new InteractionInputCollection([]) 4848Arguments = new InteractionInputCollection([]) 4900Arguments = new InteractionInputCollection([]) 4947Arguments = new InteractionInputCollection([]) 4995Arguments = new InteractionInputCollection([]) 5133Arguments = new InteractionInputCollection([]) 5315return new InteractionInputCollection([.. values.Select(static value => new InteractionInput 5325return new InteractionInputCollection([.. inputs.Select(static input => new InteractionInput
tests\Shared\TestInteractionService.cs (6)
45var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 53var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 63return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 68var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 75var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 108var data = new InteractionData(type, title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
309Arguments = new InteractionInputCollection([])
WithBlazorAppTests.cs (1)
327Arguments = new InteractionInputCollection([])
Aspire.Hosting.Browsers.Tests (11)
BrowserLogsBuilderExtensionsTests.cs (5)
108AllInputs = new InteractionInputCollection(arguments), 115AllInputs = new InteractionInputCollection(arguments), 122AllInputs = new InteractionInputCollection(arguments), 161AllInputs = new InteractionInputCollection(arguments), 1734return new InteractionInputCollection(
tests\Shared\TestInteractionService.cs (6)
45var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 53var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 63return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 68var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 75var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 108var data = new InteractionData(type, title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.DevTunnels.Tests (9)
DevTunnelResourceBuilderExtensionsTests.cs (3)
612Arguments = new InteractionInputCollection([]), 666Arguments = new InteractionInputCollection([]), 716Arguments = new InteractionInputCollection([]),
tests\Shared\TestInteractionService.cs (6)
45var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 53var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 63return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 68var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 75var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 108var data = new InteractionData(type, title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.Foundry.Tests (3)
HostedAgentExtensionTests.cs (2)
112var arguments = new InteractionInputCollection( 177var arguments = new InteractionInputCollection(
PromptAgentTests.cs (1)
193Arguments = new InteractionInputCollection(
Aspire.Hosting.Maui.Tests (1)
MauiBuildQueueTests.cs (1)
1156Arguments = new InteractionInputCollection([])
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88Arguments = new InteractionInputCollection([]), 111Arguments = new InteractionInputCollection([]),
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88Arguments = new InteractionInputCollection([]), 111Arguments = new InteractionInputCollection([]),
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88Arguments = new InteractionInputCollection([]), 111Arguments = new InteractionInputCollection([]),
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88Arguments = new InteractionInputCollection([]), 111Arguments = new InteractionInputCollection([]),
Aspire.Hosting.RemoteHost.Tests (6)
tests\Shared\TestInteractionService.cs (6)
45var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 53var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 63return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 68var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 75var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 108var data = new InteractionData(type, title ?? string.Empty, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88Arguments = new InteractionInputCollection([]), 111Arguments = new InteractionInputCollection([]),
Aspire.Hosting.Tests (31)
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)
1089var arguments = new InteractionInputCollection(setValueCommand.Arguments); 1114var arguments = new InteractionInputCollection(setValueCommand.Arguments); 1148var arguments = new InteractionInputCollection(setValueCommand.Arguments); 1186var arguments = new InteractionInputCollection(deleteCommand.Arguments); 1218var arguments = new InteractionInputCollection(deleteCommand.Arguments); 1670return new InteractionInputCollection([ 1688return new InteractionInputCollection([ 1982var result = await parameterProcessor.DeleteParameterCoreAsync(parameter, new InteractionInputCollection([]), CancellationToken.None).DefaultTimeout();
ResourceCommandAnnotationTests.cs (1)
203Arguments = new InteractionInputCollection([]),
ResourceCommandServiceTests.cs (3)
541var arguments = new InteractionInputCollection( 676var arguments = new InteractionInputCollection( 1636var arguments = new InteractionInputCollection(
tests\Shared\TestInteractionService.cs (6)
45var data = new InteractionData(InteractionType.Input, title, message, new InteractionInputCollection([input]), options, cancellationToken, new TaskCompletionSource<object>()); 53var data = new InteractionData(InteractionType.Inputs, title, message, new InteractionInputCollection(inputs), options, cancellationToken, new TaskCompletionSource<object>()); 63return InteractionResult.Ok(new InteractionInputCollection(result.Data)); 68var data = new InteractionData(InteractionType.Notification, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 75var data = new InteractionData(InteractionType.MessageBox, title, message, new InteractionInputCollection([]), options, cancellationToken, new TaskCompletionSource<object>()); 108var data = new InteractionData(type, 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(
Aspire.Hosting.TestUtilities (1)
Utils\TerminalCommandTestHelpers.cs (1)
27Arguments = new InteractionInputCollection([]),
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88Arguments = new InteractionInputCollection([]), 111Arguments = new InteractionInputCollection([]),