50 references to WithTerminal
Aspire.Hosting (6)
ApplicationModel\TerminalAnnotation.cs (2)
61
/// <see cref="TerminalResourceBuilderExtensions.
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>.
138
/// <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}?)"/>;
TerminalResourceBuilderExtensions.cs (2)
116
/// Polyglot dispatcher for <see cref="
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>.
127
=> builder.
WithTerminal
();
Aspire.Hosting.Tests (40)
Dcp\DcpExecutorTests.cs (5)
5995
var resource = builder.AddProject<Projects.ServiceA>("ServiceA").
WithTerminal
();
6039
builder.AddProject<Projects.ServiceA>("ServiceA").
WithTerminal
();
9951
.
WithTerminal
(options =>
10025
.
WithTerminal
(options =>
10071
.
WithTerminal
(options =>
WithTerminalTests.cs (35)
43
resource.
WithTerminal
();
73
resource.
WithTerminal
(options =>
97
() => resource.
WithTerminal
(options => options.Columns = columns));
113
() => resource.
WithTerminal
(options => options.Rows = rows));
138
resource.
WithTerminal
();
157
resource.
WithTerminal
();
172
resource.
WithTerminal
();
189
var result = resource.
WithTerminal
();
200
container.
WithTerminal
();
218
resource.
WithTerminal
();
240
resource.
WithTerminal
();
258
resource.
WithTerminal
(options => options.ShowTerminalHost = true);
291
.
WithTerminal
(options => options.ShowTerminalHost = showTerminalHost);
337
builder.AddExecutable("first", "myapp", ".").
WithTerminal
(),
338
builder.AddExecutable("second", "myapp", ".").
WithTerminal
(),
413
.
WithTerminal
(options =>
504
resource.
WithTerminal
();
556
resource.
WithTerminal
();
953
builder.AddExecutable("first", "myapp", ".").
WithTerminal
();
954
builder.AddExecutable("second", "myapp", ".").
WithTerminal
();
971
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
986
resource.
WithTerminal
();
1089
Assert.Throws<ArgumentNullException>(() => builder.
WithTerminal
());
1098
resource.
WithTerminal
();
1100
Assert.Throws<InvalidOperationException>(() => resource.
WithTerminal
());
1109
resource.
WithTerminal
();
1128
resource.
WithTerminal
();
1157
resource.
WithTerminal
();
1179
resource.
WithTerminal
();
1209
var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1215
var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1227
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1252
resource.
WithTerminal
(options =>
1296
resource.
WithTerminal
();
1355
resource.
WithTerminal
();
Terminals.AppHost (4)
AppHost.cs (4)
17
.
WithTerminal
(options =>
29
.
WithTerminal
(options => options.ShowTerminalHost = true);
49
.
WithTerminal
(options => options.ShowTerminalHost = true);
59
.
WithTerminal
(options => options.ShowTerminalHost = true);