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)
5805var resource = builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 5849builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 9761.WithTerminal(options => 9835.WithTerminal(options => 9881.WithTerminal(options =>
WithTerminalTests.cs (34)
42resource.WithTerminal(); 72resource.WithTerminal(options => 96() => resource.WithTerminal(options => options.Columns = columns)); 112() => resource.WithTerminal(options => options.Rows = rows)); 137resource.WithTerminal(); 156resource.WithTerminal(); 171resource.WithTerminal(); 188var result = resource.WithTerminal(); 199container.WithTerminal(); 217resource.WithTerminal(); 239resource.WithTerminal(); 257resource.WithTerminal(options => options.ShowTerminalHost = true); 288builder.AddExecutable("first", "myapp", ".").WithTerminal(), 289builder.AddExecutable("second", "myapp", ".").WithTerminal(), 364.WithTerminal(options => 455resource.WithTerminal(); 507resource.WithTerminal(); 904builder.AddExecutable("first", "myapp", ".").WithTerminal(); 905builder.AddExecutable("second", "myapp", ".").WithTerminal(); 922var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 937resource.WithTerminal(); 1040Assert.Throws<ArgumentNullException>(() => builder.WithTerminal()); 1049resource.WithTerminal(); 1051Assert.Throws<InvalidOperationException>(() => resource.WithTerminal()); 1060resource.WithTerminal(); 1079resource.WithTerminal(); 1108resource.WithTerminal(); 1130resource.WithTerminal(); 1160var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1166var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1178var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1203resource.WithTerminal(options => 1247resource.WithTerminal(); 1306resource.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);