51 instantiations of CliHostEnvironment
aspire (1)
Program.cs (1)
429
return new
CliHostEnvironment
(configuration, nonInteractive);
Aspire.Cli.Tests (50)
Certificates\CertificateServiceTests.cs (9)
199
return new
CliHostEnvironment
(configuration, nonInteractive: true);
353
return new
CliHostEnvironment
(configuration, nonInteractive: true);
394
return new
CliHostEnvironment
(configuration, nonInteractive: true);
435
return new
CliHostEnvironment
(configuration, nonInteractive: true);
485
return new
CliHostEnvironment
(configuration, nonInteractive: true);
524
return new
CliHostEnvironment
(configuration, nonInteractive: true);
567
return new
CliHostEnvironment
(configuration, nonInteractive: true);
603
return new
CliHostEnvironment
(configuration, nonInteractive: true);
630
return new
CliHostEnvironment
(configuration, nonInteractive);
Commands\CertificatesCommandTests.cs (1)
97
return new
CliHostEnvironment
(configuration, nonInteractive: true);
Commands\NewCommandTests.cs (10)
2254
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2280
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2305
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2336
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2384
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2428
return new
CliHostEnvironment
(configuration, nonInteractive: true);
2472
return new
CliHostEnvironment
(configuration, nonInteractive: true);
3284
return new
CliHostEnvironment
(configuration, nonInteractive: true);
3310
return new
CliHostEnvironment
(configuration, nonInteractive: true);
3338
return new
CliHostEnvironment
(configuration, nonInteractive: true);
Commands\RunCommandTests.cs (1)
1215
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);
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)
510
return new
CliHostEnvironment
(configuration, nonInteractive: true);
26 references to CliHostEnvironment
aspire (1)
Program.cs (1)
963
var isPlayground =
CliHostEnvironment
.IsPlaygroundMode(configuration);
Aspire.Cli.Tests (25)
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);