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)
172var inputCollection = new InteractionInputCollection(inputs); 266return InteractionResult.Ok(new InteractionInputCollection(inputState));
ResourceBuilderExtensions.cs (1)
3397_ = 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([]) 1178Arguments = new InteractionInputCollection([]) 1262Arguments = new InteractionInputCollection([]) 1531Arguments = new InteractionInputCollection([]) 1595Arguments = new InteractionInputCollection([]) 1656Arguments = new InteractionInputCollection([]) 1717Arguments = new InteractionInputCollection([]) 1852Arguments = new InteractionInputCollection([]) 1910Arguments = new InteractionInputCollection([]) 1961Arguments = new InteractionInputCollection([]) 1973Arguments = new InteractionInputCollection([]) 2057Arguments = new InteractionInputCollection([]) 2141Arguments = new InteractionInputCollection([]) 2235Arguments = new InteractionInputCollection([]) 2306Arguments = new InteractionInputCollection([]) 2384Arguments = new InteractionInputCollection([]) 2398Arguments = new InteractionInputCollection([]) 2463Arguments = new InteractionInputCollection([]) 2527Arguments = new InteractionInputCollection([]) 2581Arguments = new InteractionInputCollection([]) 2641Arguments = new InteractionInputCollection([]) 2718Arguments = new InteractionInputCollection([]) 2732Arguments = new InteractionInputCollection([]) 2795Arguments = new InteractionInputCollection([]) 2812Arguments = new InteractionInputCollection([]) 2893Arguments = new InteractionInputCollection([]) 2939Arguments = new InteractionInputCollection([]) 2992Arguments = new InteractionInputCollection([]) 3006Arguments = new InteractionInputCollection([]) 3132Arguments = new InteractionInputCollection([]) 3306Arguments = new InteractionInputCollection([]) 3437Arguments = new InteractionInputCollection([]) 3563Arguments = new InteractionInputCollection([]) 3626Arguments = new InteractionInputCollection([]) 3752Arguments = new InteractionInputCollection([]) 4117Arguments = new InteractionInputCollection([]) 4196Arguments = new InteractionInputCollection([]) 4268Arguments = new InteractionInputCollection([]) 4348Arguments = new InteractionInputCollection([]) 4422Arguments = new InteractionInputCollection([]) 4474Arguments = new InteractionInputCollection([]) 4522: new InteractionInputCollection([]) 4566Arguments = new InteractionInputCollection([]) 4634Arguments = new InteractionInputCollection([]) 4873Arguments = new InteractionInputCollection([]) 4925Arguments = new InteractionInputCollection([]) 4972Arguments = new InteractionInputCollection([]) 5020Arguments = new InteractionInputCollection([]) 5158Arguments = new InteractionInputCollection([]) 5340return new InteractionInputCollection([.. values.Select(static value => new InteractionInput 5350return 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)
1179Arguments = new InteractionInputCollection([])
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89Arguments = new InteractionInputCollection([]), 112Arguments = new InteractionInputCollection([]),
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89Arguments = new InteractionInputCollection([]), 112Arguments = new InteractionInputCollection([]),
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89Arguments = new InteractionInputCollection([]), 112Arguments = new InteractionInputCollection([]),
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89Arguments = new InteractionInputCollection([]), 112Arguments = 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)
89Arguments = new InteractionInputCollection([]), 112Arguments = new InteractionInputCollection([]),
Aspire.Hosting.Tests (31)
InteractionServiceTests.cs (8)
753var collection = new InteractionInputCollection(inputs); 793var collection = new InteractionInputCollection(inputs); 827var collection = new InteractionInputCollection(inputs); 849var exception = Assert.Throws<InvalidOperationException>(() => new InteractionInputCollection(inputs)); 864var exception = Assert.Throws<InvalidOperationException>(() => new InteractionInputCollection(inputs)); 880var collection = new InteractionInputCollection(inputs); 913var collection = new InteractionInputCollection(inputs); 946var 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); 1850return new InteractionInputCollection([ 1868return new InteractionInputCollection([ 2163var result = await parameterProcessor.DeleteParameterCoreAsync(parameter, new InteractionInputCollection([]), CancellationToken.None).DefaultTimeout();
ResourceCommandAnnotationTests.cs (1)
203Arguments = new InteractionInputCollection([]),
ResourceCommandServiceTests.cs (3)
542var arguments = new InteractionInputCollection( 677var arguments = new InteractionInputCollection( 1638var 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)
89Arguments = new InteractionInputCollection([]), 112Arguments = new InteractionInputCollection([]),