69 references to WithTerminal
Aspire.Hosting (5)
ApplicationModel\TerminalAnnotation.cs (1)
61/// <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)
120/// Polyglot dispatcher for <see cref="WithTerminal{T}(IResourceBuilder{T}, Action{TerminalOptions}?)"/>. 132=> builder.WithTerminal();
Aspire.Hosting.Tests (56)
Dcp\DcpExecutorTests.cs (5)
6607var resource = builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 6651builder.AddProject<Projects.ServiceA>("ServiceA").WithTerminal(); 11138.WithTerminal(options => 11212.WithTerminal(options => 11258.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 (39)
72resource.WithTerminal(); 95var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 113var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(options => 142resource.WithTerminal(options => 166() => resource.WithTerminal(options => options.Columns = columns)); 182() => resource.WithTerminal(options => options.Rows = rows)); 208resource.WithTerminal(); 227resource.WithTerminal(); 242resource.WithTerminal(); 259var result = resource.WithTerminal(); 270container.WithTerminal(); 288resource.WithTerminal(); 310resource.WithTerminal(); 336.WithTerminal(); 395.WithTerminal(); 427builder.AddExecutable("first", "myapp", ".").WithTerminal(), 428builder.AddExecutable("second", "myapp", ".").WithTerminal(), 503.WithTerminal(options => 596resource.WithTerminal(); 648resource.WithTerminal(); 1045builder.AddExecutable("first", "myapp", ".").WithTerminal(); 1046builder.AddExecutable("second", "myapp", ".").WithTerminal(); 1063var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1078resource.WithTerminal(); 1181Assert.Throws<ArgumentNullException>(() => builder.WithTerminal()); 1190resource.WithTerminal(); 1192Assert.Throws<InvalidOperationException>(() => resource.WithTerminal()); 1201resource.WithTerminal(); 1220resource.WithTerminal(); 1249resource.WithTerminal(); 1271resource.WithTerminal(); 1301var firstResource = firstBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1307var secondResource = secondBuilder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1319var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1344resource.WithTerminal(options => 1388resource.WithTerminal(); 1447resource.WithTerminal(); 1458var resource = builder.AddExecutable("myapp", "myapp", ".").WithTerminal(); 1480builder.AddExecutable("myapp", "myapp", ".").WithTerminal();
Terminals.AppHost (8)
AppHost.cs (8)
13.WithTerminal(options => 20.WithTerminal(); 37.WithTerminal(options => 80.WithTerminal(); 100.WithTerminal(); 110.WithTerminal(); 119shell.WithTerminal(options => 127.WithTerminal(options =>