52 instantiations of CliHostEnvironment
aspire (1)
Program.cs (1)
464
return new
CliHostEnvironment
(configuration, nonInteractive || isCompletion);
Aspire.Cli.Tests (51)
Certificates\CertificateServiceTests.cs (9)
201
return new
CliHostEnvironment
(configuration, nonInteractive: true);
355
return new
CliHostEnvironment
(configuration, nonInteractive: true);
396
return new
CliHostEnvironment
(configuration, nonInteractive: true);
437
return new
CliHostEnvironment
(configuration, nonInteractive: true);
487
return new
CliHostEnvironment
(configuration, nonInteractive: true);
526
return new
CliHostEnvironment
(configuration, nonInteractive: true);
569
return new
CliHostEnvironment
(configuration, nonInteractive: true);
605
return new
CliHostEnvironment
(configuration, nonInteractive: true);
632
return new
CliHostEnvironment
(configuration, nonInteractive);
Commands\CertificatesCommandTests.cs (1)
97
return new
CliHostEnvironment
(configuration, nonInteractive: true);
Commands\NewCommandTests.cs (10)
2330
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2356
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2381
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2412
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2460
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2505
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2549
return new
CliHostEnvironment
(configuration, nonInteractive: true);
3349
return new
CliHostEnvironment
(configuration, nonInteractive: true);
3376
return new
CliHostEnvironment
(configuration, nonInteractive: true);
3404
return new
CliHostEnvironment
(configuration, nonInteractive: true);
Commands\RunCommandTests.cs (1)
1269
return new
CliHostEnvironment
(configuration, nonInteractive: true);
Commands\StartCommandTests.cs (3)
280
return new
CliHostEnvironment
(configuration, nonInteractive: true);
310
return new
CliHostEnvironment
(configuration, nonInteractive: false);
348
return new
CliHostEnvironment
(configuration, nonInteractive: true);
Configuration\ConfigSourceServiceGitTests.cs (1)
311
var hostEnvironment = new
CliHostEnvironment
(configuration, nonInteractive, isOutputRedirected: true);
Utils\CliHostEnvironmentTests.cs (25)
18
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
31
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
44
var env = new
CliHostEnvironment
(configuration, nonInteractive: false, isOutputRedirected: true);
59
var env = new
CliHostEnvironment
(configuration, nonInteractive: false, isOutputRedirected: true);
70
var env = new
CliHostEnvironment
(configuration, nonInteractive: false, isOutputRedirected: false);
89
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
109
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
132
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
150
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
171
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
189
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
202
var env = new
CliHostEnvironment
(configuration, nonInteractive: true);
215
var env = new
CliHostEnvironment
(configuration, nonInteractive: true);
233
var env = new
CliHostEnvironment
(configuration, nonInteractive: true);
251
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
269
var env = new
CliHostEnvironment
(configuration, nonInteractive: false, isOutputRedirected: false);
288
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
307
var env = new
CliHostEnvironment
(configuration, nonInteractive: false, isOutputRedirected: false);
325
var env = new
CliHostEnvironment
(configuration, nonInteractive: true);
344
var env = new
CliHostEnvironment
(configuration, nonInteractive: true);
364
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
382
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
401
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
421
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
440
var env = new
CliHostEnvironment
(configuration, nonInteractive: false);
Utils\CliTestHelper.cs (1)
546
return new
CliHostEnvironment
(configuration, nonInteractive: true);
27 references to CliHostEnvironment
aspire (1)
Program.cs (1)
1086
var isPlayground =
CliHostEnvironment
.IsPlaygroundMode(configuration);
Aspire.Cli.Tests (26)
Configuration\ConfigSourceServiceGitTests.cs (1)
311
var
hostEnvironment = new CliHostEnvironment(configuration, nonInteractive, isOutputRedirected: true);
Utils\CliHostEnvironmentTests.cs (25)
18
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
31
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
44
var
env = new CliHostEnvironment(configuration, nonInteractive: false, isOutputRedirected: true);
59
var
env = new CliHostEnvironment(configuration, nonInteractive: false, isOutputRedirected: true);
70
var
env = new CliHostEnvironment(configuration, nonInteractive: false, isOutputRedirected: false);
89
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
109
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
132
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
150
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
171
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
189
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
202
var
env = new CliHostEnvironment(configuration, nonInteractive: true);
215
var
env = new CliHostEnvironment(configuration, nonInteractive: true);
233
var
env = new CliHostEnvironment(configuration, nonInteractive: true);
251
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
269
var
env = new CliHostEnvironment(configuration, nonInteractive: false, isOutputRedirected: false);
288
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
307
var
env = new CliHostEnvironment(configuration, nonInteractive: false, isOutputRedirected: false);
325
var
env = new CliHostEnvironment(configuration, nonInteractive: true);
344
var
env = new CliHostEnvironment(configuration, nonInteractive: true);
364
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
382
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
401
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
421
var
env = new CliHostEnvironment(configuration, nonInteractive: false);
440
var
env = new CliHostEnvironment(configuration, nonInteractive: false);