49 references to WithTerminal
Aspire.Hosting (6)
ApplicationModel\TerminalAnnotation.cs (2)
61
/// <see cref="TerminalResourceBuilderExtensions.
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>.
137
/// <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)
115
/// Polyglot dispatcher for <see cref="
WithTerminal
{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>.
126
=> builder.
WithTerminal
();
Aspire.Hosting.Tests (39)
Dcp\DcpExecutorTests.cs (5)
5805
var resource = builder.AddProject<Projects.ServiceA>("ServiceA").
WithTerminal
();
5849
builder.AddProject<Projects.ServiceA>("ServiceA").
WithTerminal
();
9761
.
WithTerminal
(options =>
9835
.
WithTerminal
(options =>
9881
.
WithTerminal
(options =>
WithTerminalTests.cs (34)
42
resource.
WithTerminal
();
72
resource.
WithTerminal
(options =>
96
() => resource.
WithTerminal
(options => options.Columns = columns));
112
() => resource.
WithTerminal
(options => options.Rows = rows));
137
resource.
WithTerminal
();
156
resource.
WithTerminal
();
171
resource.
WithTerminal
();
188
var result = resource.
WithTerminal
();
199
container.
WithTerminal
();
217
resource.
WithTerminal
();
239
resource.
WithTerminal
();
257
resource.
WithTerminal
(options => options.ShowTerminalHost = true);
288
builder.AddExecutable("first", "myapp", ".").
WithTerminal
(),
289
builder.AddExecutable("second", "myapp", ".").
WithTerminal
(),
364
.
WithTerminal
(options =>
455
resource.
WithTerminal
();
507
resource.
WithTerminal
();
904
builder.AddExecutable("first", "myapp", ".").
WithTerminal
();
905
builder.AddExecutable("second", "myapp", ".").
WithTerminal
();
922
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
937
resource.
WithTerminal
();
1040
Assert.Throws<ArgumentNullException>(() => builder.
WithTerminal
());
1049
resource.
WithTerminal
();
1051
Assert.Throws<InvalidOperationException>(() => resource.
WithTerminal
());
1060
resource.
WithTerminal
();
1079
resource.
WithTerminal
();
1108
resource.
WithTerminal
();
1130
resource.
WithTerminal
();
1160
var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1166
var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1178
var resource = builder.AddExecutable("myapp", "myapp", ".").
WithTerminal
();
1203
resource.
WithTerminal
(options =>
1247
resource.
WithTerminal
();
1306
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);