147 references to new
Aspire.Hosting (13)
ApplicationModel\HttpCommandContext.cs (2)
58
public InteractionInputCollection Arguments { get; init; } =
new
([]);
145
public InteractionInputCollection Arguments { get; init; } =
new
([]);
ApplicationModel\ProcessCommandResultContext.cs (1)
64
public InteractionInputCollection Arguments { get; init; } =
new
([]);
ApplicationModel\ResourceCommandService.cs (5)
732
return new
InteractionInputCollection
([]);
748
return new
InteractionInputCollection
(inputs);
755
return new
InteractionInputCollection
([]);
769
return new
InteractionInputCollection
(inputs);
827
return new
InteractionInputCollection
(inputs);
Ats\InteractionExports.cs (2)
878
? new
InteractionInputCollection
([])
879
: new
InteractionInputCollection
(result.Data.Select(InteractionExports.ToResultInput).ToArray());
InteractionService.cs (2)
165
var inputCollection = new
InteractionInputCollection
(inputs);
259
return InteractionResult.Ok(new
InteractionInputCollection
(inputState));
ResourceBuilderExtensions.cs (1)
3377
_ = new
InteractionInputCollection
(arguments);
Aspire.Hosting.Azure.Tests (58)
AzureEnvironmentResourceExtensionsTests.cs (52)
359
Arguments = new
InteractionInputCollection
([])
413
Arguments = new
InteractionInputCollection
([])
832
Arguments = new
InteractionInputCollection
([])
916
Arguments = new
InteractionInputCollection
([])
1185
Arguments = new
InteractionInputCollection
([])
1249
Arguments = new
InteractionInputCollection
([])
1310
Arguments = new
InteractionInputCollection
([])
1371
Arguments = new
InteractionInputCollection
([])
1506
Arguments = new
InteractionInputCollection
([])
1564
Arguments = new
InteractionInputCollection
([])
1615
Arguments = new
InteractionInputCollection
([])
1627
Arguments = new
InteractionInputCollection
([])
1711
Arguments = new
InteractionInputCollection
([])
1795
Arguments = new
InteractionInputCollection
([])
1889
Arguments = new
InteractionInputCollection
([])
1960
Arguments = new
InteractionInputCollection
([])
2038
Arguments = new
InteractionInputCollection
([])
2052
Arguments = new
InteractionInputCollection
([])
2117
Arguments = new
InteractionInputCollection
([])
2181
Arguments = new
InteractionInputCollection
([])
2235
Arguments = new
InteractionInputCollection
([])
2295
Arguments = new
InteractionInputCollection
([])
2372
Arguments = new
InteractionInputCollection
([])
2386
Arguments = new
InteractionInputCollection
([])
2449
Arguments = new
InteractionInputCollection
([])
2466
Arguments = new
InteractionInputCollection
([])
2547
Arguments = new
InteractionInputCollection
([])
2593
Arguments = new
InteractionInputCollection
([])
2646
Arguments = new
InteractionInputCollection
([])
2660
Arguments = new
InteractionInputCollection
([])
2786
Arguments = new
InteractionInputCollection
([])
2960
Arguments = new
InteractionInputCollection
([])
3091
Arguments = new
InteractionInputCollection
([])
3217
Arguments = new
InteractionInputCollection
([])
3280
Arguments = new
InteractionInputCollection
([])
3406
Arguments = new
InteractionInputCollection
([])
3771
Arguments = new
InteractionInputCollection
([])
3850
Arguments = new
InteractionInputCollection
([])
3922
Arguments = new
InteractionInputCollection
([])
4002
Arguments = new
InteractionInputCollection
([])
4076
Arguments = new
InteractionInputCollection
([])
4128
Arguments = new
InteractionInputCollection
([])
4176
: new
InteractionInputCollection
([])
4220
Arguments = new
InteractionInputCollection
([])
4288
Arguments = new
InteractionInputCollection
([])
4527
Arguments = new
InteractionInputCollection
([])
4579
Arguments = new
InteractionInputCollection
([])
4626
Arguments = new
InteractionInputCollection
([])
4674
Arguments = new
InteractionInputCollection
([])
4812
Arguments = new
InteractionInputCollection
([])
4994
return new
InteractionInputCollection
([.. values.Select(static value => new InteractionInput
5004
return new
InteractionInputCollection
([.. inputs.Select(static input => new InteractionInput
tests\Shared\TestInteractionService.cs (6)
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>());
63
return InteractionResult.Ok(new
InteractionInputCollection
(result.Data));
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>());
108
var data = new InteractionData(type, title ?? string.Empty, message, new
InteractionInputCollection
([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
328
Arguments = new
InteractionInputCollection
([])
WithBlazorAppTests.cs (1)
326
Arguments = new
InteractionInputCollection
([])
Aspire.Hosting.Browsers.Tests (11)
BrowserLogsBuilderExtensionsTests.cs (5)
108
AllInputs = new
InteractionInputCollection
(arguments),
115
AllInputs = new
InteractionInputCollection
(arguments),
122
AllInputs = new
InteractionInputCollection
(arguments),
161
AllInputs = new
InteractionInputCollection
(arguments),
1734
return new
InteractionInputCollection
(
tests\Shared\TestInteractionService.cs (6)
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>());
63
return InteractionResult.Ok(new
InteractionInputCollection
(result.Data));
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>());
108
var data = new InteractionData(type, title ?? string.Empty, message, new
InteractionInputCollection
([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.DevTunnels.Tests (9)
DevTunnelResourceBuilderExtensionsTests.cs (3)
575
Arguments = new
InteractionInputCollection
([]),
627
Arguments = new
InteractionInputCollection
([]),
675
Arguments = new
InteractionInputCollection
([]),
tests\Shared\TestInteractionService.cs (6)
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>());
63
return InteractionResult.Ok(new
InteractionInputCollection
(result.Data));
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>());
108
var data = new InteractionData(type, title ?? string.Empty, message, new
InteractionInputCollection
([]), options, cancellationToken, new TaskCompletionSource<object>())
Aspire.Hosting.Foundry.Tests (3)
HostedAgentExtensionTests.cs (2)
109
var arguments = new
InteractionInputCollection
(
174
var arguments = new
InteractionInputCollection
(
PromptAgentTests.cs (1)
103
Arguments = new
InteractionInputCollection
(
Aspire.Hosting.Maui.Tests (1)
MauiBuildQueueTests.cs (1)
1156
Arguments = new
InteractionInputCollection
([])
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments = new
InteractionInputCollection
([]),
111
Arguments = new
InteractionInputCollection
([]),
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments = new
InteractionInputCollection
([]),
111
Arguments = new
InteractionInputCollection
([]),
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments = new
InteractionInputCollection
([]),
111
Arguments = new
InteractionInputCollection
([]),
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments = new
InteractionInputCollection
([]),
111
Arguments = new
InteractionInputCollection
([]),
Aspire.Hosting.RemoteHost.Tests (6)
tests\Shared\TestInteractionService.cs (6)
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>());
63
return InteractionResult.Ok(new
InteractionInputCollection
(result.Data));
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>());
108
var 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)
88
Arguments = new
InteractionInputCollection
([]),
111
Arguments = new
InteractionInputCollection
([]),
Aspire.Hosting.Tests (31)
InteractionServiceTests.cs (8)
649
var collection = new
InteractionInputCollection
(inputs);
689
var collection = new
InteractionInputCollection
(inputs);
723
var collection = new
InteractionInputCollection
(inputs);
745
var exception = Assert.Throws<InvalidOperationException>(() => new
InteractionInputCollection
(inputs));
760
var exception = Assert.Throws<InvalidOperationException>(() => new
InteractionInputCollection
(inputs));
776
var collection = new
InteractionInputCollection
(inputs);
809
var collection = new
InteractionInputCollection
(inputs);
842
var collection = new
InteractionInputCollection
(inputs);
Orchestrator\ParameterProcessorTests.cs (8)
926
var arguments = new
InteractionInputCollection
(setValueCommand.Arguments);
951
var arguments = new
InteractionInputCollection
(setValueCommand.Arguments);
985
var arguments = new
InteractionInputCollection
(setValueCommand.Arguments);
1023
var arguments = new
InteractionInputCollection
(deleteCommand.Arguments);
1055
var arguments = new
InteractionInputCollection
(deleteCommand.Arguments);
1233
return new
InteractionInputCollection
([
1251
return new
InteractionInputCollection
([
1545
var result = await parameterProcessor.DeleteParameterCoreAsync(parameter, new
InteractionInputCollection
([]), CancellationToken.None).DefaultTimeout();
ResourceCommandAnnotationTests.cs (1)
203
Arguments = new
InteractionInputCollection
([]),
ResourceCommandServiceTests.cs (3)
541
var arguments = new
InteractionInputCollection
(
676
var arguments = new
InteractionInputCollection
(
1636
var arguments = new
InteractionInputCollection
(
tests\Shared\TestInteractionService.cs (6)
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>());
63
return InteractionResult.Ok(new
InteractionInputCollection
(result.Data));
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>());
108
var data = new InteractionData(type, title ?? string.Empty, message, new
InteractionInputCollection
([]), options, cancellationToken, new TaskCompletionSource<object>())
WithHttpCommandTests.cs (2)
377
var arguments = new
InteractionInputCollection
(
778
var arguments = new
InteractionInputCollection
(
WithProcessCommandTests.cs (3)
180
var arguments = new
InteractionInputCollection
(
259
var arguments = new
InteractionInputCollection
(
374
var arguments = new
InteractionInputCollection
(
Aspire.Hosting.TestUtilities (1)
Utils\TerminalCommandTestHelpers.cs (1)
27
Arguments = new
InteractionInputCollection
([]),
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments = new
InteractionInputCollection
([]),
111
Arguments = new
InteractionInputCollection
([]),