74 references to WithTerminal
Aspire.Hosting (3)
ApplicationModel\TerminalAnnotation.cs (1)
58
/// <see cref="TerminalResourceBuilderExtensions.
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>.
ApplicationModel\TerminalResourceSnapshotProperties.cs (1)
14
/// <see cref="TerminalResourceBuilderExtensions.
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>.
Lifecycle\TerminalHostEventingSubscriber.cs (1)
16
/// installed by <see cref="TerminalResourceBuilderExtensions.
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>;
Aspire.Hosting.Dotnet.Tests (1)
ProjectCustomizationCompatibilityTests.cs (1)
67
var customized = project.
WithTerminal
();
Aspire.Hosting.Tests (56)
Dcp\DcpExecutorTests.cs (5)
7292
var resource = builder.AddProject<Projects.ServiceA>("ServiceA").
WithTerminal
();
7336
builder.AddProject<Projects.ServiceA>("ServiceA").
WithTerminal
();
11828
.
WithTerminal
(options =>
11902
.
WithTerminal
(options =>
11948
.
WithTerminal
(options =>
Terminals\ResourceTerminalCatalogTests.cs (12)
58
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
72
builder.AddExecutable("myapp", "myapp", ".").WithAnnotation(new ReplicaAnnotation(3)).
WithTerminal
();
88
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
103
builder.AddExecutable("myapp", "myapp", ".").WithAnnotation(new ReplicaAnnotation(2)).
WithTerminal
();
116
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
128
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
142
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
157
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
176
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
196
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
230
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
245
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
WithTerminalTests.cs (39)
84
resource.
WithTerminal
();
107
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
125
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
(options =>
154
resource.
WithTerminal
(options =>
178
() => resource.
WithTerminal
(options => options.Columns = columns));
194
() => resource.
WithTerminal
(options => options.Rows = rows));
220
resource.
WithTerminal
();
239
resource.
WithTerminal
();
254
resource.
WithTerminal
();
271
var result = resource.
WithTerminal
();
282
container.
WithTerminal
();
300
resource.
WithTerminal
();
322
resource.
WithTerminal
();
348
.
WithTerminal
();
407
.
WithTerminal
();
439
builder.AddExecutable("first", "myapp", ".").
WithTerminal
(),
440
builder.AddExecutable("second", "myapp", ".").
WithTerminal
(),
515
.
WithTerminal
(options =>
608
resource.
WithTerminal
();
660
resource.
WithTerminal
();
1057
builder.AddExecutable("first", "myapp", ".").
WithTerminal
();
1058
builder.AddExecutable("second", "myapp", ".").
WithTerminal
();
1075
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1090
resource.
WithTerminal
();
1193
Assert.Throws<ArgumentNullException>(() => builder.
WithTerminal
());
1202
resource.
WithTerminal
();
1204
Assert.Throws<InvalidOperationException>(() => resource.
WithTerminal
());
1213
resource.
WithTerminal
();
1232
resource.
WithTerminal
();
1261
resource.
WithTerminal
();
1283
resource.
WithTerminal
();
1313
var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1319
var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1331
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1356
resource.
WithTerminal
(options =>
1400
resource.
WithTerminal
();
1461
resource.
WithTerminal
();
1472
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1494
builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
Stress.AppHost (2)
AppHost.cs (2)
160
.
WithTerminal
();
165
.
WithTerminal
();
Terminals.AppHost (8)
AppHost.cs (8)
13
.
WithTerminal
(options =>
20
.
WithTerminal
();
37
.
WithTerminal
(options =>
80
.
WithTerminal
();
100
.
WithTerminal
();
110
.
WithTerminal
();
119
shell.
WithTerminal
(options =>
127
.
WithTerminal
(options =>
TestShop.AppHost (4)
AppHost.cs (4)
198
.
WithTerminal
();
202
.
WithTerminal
();
208
.
WithTerminal
();
212
.
WithTerminal
();