65 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)
114/// Polyglot dispatcher for <see cref="WithTerminal{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>. 125=> builder.WithTerminal();
Aspire.Hosting.Tests (54)
Dcp\DcpExecutorTests.cs (5)
6608var resource = builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 6652builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 11113.WithTerminal(options => 11187.WithTerminal(options => 11233.WithTerminal(options =>
Terminals\ResourceTerminalCatalogTests.cs (12)
58builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 72builder.AddExecutable("myapp", "myapp", ".").WithAnnotation(new ReplicaAnnotation(3)).WithTerminal(); 88builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 103builder.AddExecutable("myapp", "myapp", ".").WithAnnotation(new ReplicaAnnotation(2)).WithTerminal(); 116builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 128builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 142builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 157builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 176builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 196builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 230builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 245builder.AddExecutable("myapp", "myapp", ".").WithTerminal();
WithTerminalTests.cs (37)
71resource.WithTerminal(); 101resource.WithTerminal(options => 125() => resource.WithTerminal(options => options.Columns = columns)); 141() => resource.WithTerminal(options => options.Rows = rows)); 166resource.WithTerminal(); 185resource.WithTerminal(); 200resource.WithTerminal(); 217var result = resource.WithTerminal(); 228container.WithTerminal(); 246resource.WithTerminal(); 268resource.WithTerminal(); 286resource.WithTerminal(options => options.ShowTerminalHost = true); 319.WithTerminal(options => options.ShowTerminalHost = showTerminalHost); 365builder.AddExecutable("first", "myapp", ".").WithTerminal(), 366builder.AddExecutable("second", "myapp", ".").WithTerminal(), 441.WithTerminal(options => 534resource.WithTerminal(); 586resource.WithTerminal(); 983builder.AddExecutable("first", "myapp", ".").WithTerminal(); 984builder.AddExecutable("second", "myapp", ".").WithTerminal(); 1001var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1016resource.WithTerminal(); 1119Assert.Throws<ArgumentNullException>(() => builder.WithTerminal()); 1128resource.WithTerminal(); 1130Assert.Throws<InvalidOperationException>(() => resource.WithTerminal()); 1139resource.WithTerminal(); 1158resource.WithTerminal(); 1187resource.WithTerminal(); 1209resource.WithTerminal(); 1239var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1245var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1257var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1282resource.WithTerminal(options => 1326resource.WithTerminal(); 1385resource.WithTerminal(); 1396var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1418builder.AddExecutable("myapp", "myapp", ".").WithTerminal();
Terminals.AppHost (5)
AppHost.cs (5)
26.WithTerminal(options => 70.WithTerminal(options => options.ShowTerminalHost = true); 90.WithTerminal(options => options.ShowTerminalHost = true); 100.WithTerminal(options => options.ShowTerminalHost = true); 104.WithTerminal(options =>