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)
5995var resource = builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 6039builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 9951.WithTerminal(options => 10025.WithTerminal(options => 10071.WithTerminal(options =>
WithTerminalTests.cs (35)
43resource.WithTerminal(); 73resource.WithTerminal(options => 97() => resource.WithTerminal(options => options.Columns = columns)); 113() => resource.WithTerminal(options => options.Rows = rows)); 138resource.WithTerminal(); 157resource.WithTerminal(); 172resource.WithTerminal(); 189var result = resource.WithTerminal(); 200container.WithTerminal(); 218resource.WithTerminal(); 240resource.WithTerminal(); 258resource.WithTerminal(options => options.ShowTerminalHost = true); 291.WithTerminal(options => options.ShowTerminalHost = showTerminalHost); 337builder.AddExecutable("first", "myapp", ".").WithTerminal(), 338builder.AddExecutable("second", "myapp", ".").WithTerminal(), 413.WithTerminal(options => 504resource.WithTerminal(); 556resource.WithTerminal(); 953builder.AddExecutable("first", "myapp", ".").WithTerminal(); 954builder.AddExecutable("second", "myapp", ".").WithTerminal(); 971var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 986resource.WithTerminal(); 1089Assert.Throws<ArgumentNullException>(() => builder.WithTerminal()); 1098resource.WithTerminal(); 1100Assert.Throws<InvalidOperationException>(() => resource.WithTerminal()); 1109resource.WithTerminal(); 1128resource.WithTerminal(); 1157resource.WithTerminal(); 1179resource.WithTerminal(); 1209var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1215var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1227var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1252resource.WithTerminal(options => 1296resource.WithTerminal(); 1355resource.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);