308 writes to InteractionServiceFactory
Aspire.Cli.Tests (308)
Certificates\CertificateServiceTests.cs (5)
355
options.
InteractionServiceFactory
= _ => new TestInteractionService();
396
options.
InteractionServiceFactory
= _ => new TestInteractionService();
487
options.
InteractionServiceFactory
= _ => new TestInteractionService();
571
options.
InteractionServiceFactory
= _ => new TestInteractionService();
605
options.
InteractionServiceFactory
= _ => new TestInteractionService();
CliBootstrapTests.cs (2)
226
options.
InteractionServiceFactory
= _ => testInteractionService;
247
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\AddCommandTests.cs (45)
63
options.
InteractionServiceFactory
= _ => testInteractionService;
94
options.
InteractionServiceFactory
= _ => testInteractionService;
130
options.
InteractionServiceFactory
= _ => testInteractionService;
213
options.
InteractionServiceFactory
= _ => testInteractionService;
270
options.
InteractionServiceFactory
= _ => testInteractionService;
326
options.
InteractionServiceFactory
= _ => testInteractionService;
419
options.
InteractionServiceFactory
= _ => testInteractionService;
491
options.
InteractionServiceFactory
= _ => testInteractionService;
578
options.
InteractionServiceFactory
= _ => testInteractionService;
673
options.
InteractionServiceFactory
= _ => testInteractionService;
741
options.
InteractionServiceFactory
= _ => testInteractionService;
784
options.
InteractionServiceFactory
= _ => testInteractionService;
873
options.
InteractionServiceFactory
= _ => testInteractionService;
925
options.
InteractionServiceFactory
= _ => testInteractionService;
963
options.
InteractionServiceFactory
= _ => testInteractionService;
1701
options.
InteractionServiceFactory
= _ => testInteractionService;
1770
options.
InteractionServiceFactory
= _ => testInteractionService;
1842
options.
InteractionServiceFactory
= _ => testInteractionService;
2068
options.
InteractionServiceFactory
= _ => testInteractionService;
2104
options.
InteractionServiceFactory
= (sp) =>
2198
options.
InteractionServiceFactory
= (sp) =>
2246
options.
InteractionServiceFactory
= (sp) =>
2294
options.
InteractionServiceFactory
= (sp) =>
2352
options.
InteractionServiceFactory
= (sp) =>
2627
options.
InteractionServiceFactory
= _ => new TestInteractionService();
2662
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2724
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3033
options.
InteractionServiceFactory
= _ => new TestInteractionService();
3083
options.
InteractionServiceFactory
= _ => new TestInteractionService();
3133
options.
InteractionServiceFactory
= _ => new TestInteractionService();
3179
options.
InteractionServiceFactory
= _ => testInteractionService;
3227
options.
InteractionServiceFactory
= _ => testInteractionService;
3274
options.
InteractionServiceFactory
= _ => testInteractionService;
3323
options.
InteractionServiceFactory
= _ => testInteractionService;
3381
options.
InteractionServiceFactory
= _ => testInteractionService;
3435
options.
InteractionServiceFactory
= _ => new TestInteractionService();
3481
options.
InteractionServiceFactory
= _ => testInteractionService;
3697
options.
InteractionServiceFactory
= _ => testInteractionService;
3748
options.
InteractionServiceFactory
= _ => testInteractionService;
3861
options.
InteractionServiceFactory
= _ => testInteractionService;
3922
options.
InteractionServiceFactory
= _ => testInteractionService;
3974
options.
InteractionServiceFactory
= _ => testInteractionService;
4197
options.
InteractionServiceFactory
= _ => testInteractionService;
4285
options.
InteractionServiceFactory
= _ => testInteractionService;
4373
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\AgentInitCommandTests.cs (14)
39
options.
InteractionServiceFactory
= _ => interactionService;
72
options.
InteractionServiceFactory
= _ => interactionService;
117
options.
InteractionServiceFactory
= _ => interactionService;
198
options.
InteractionServiceFactory
= _ => interactionService;
241
options.
InteractionServiceFactory
= _ => interactionService;
305
options.
InteractionServiceFactory
= _ => interactionService;
352
options.
InteractionServiceFactory
= _ => interactionService;
399
options.
InteractionServiceFactory
= _ => interactionService;
442
options.
InteractionServiceFactory
= _ => interactionService;
634
options.
InteractionServiceFactory
= _ => interactionService;
663
options.
InteractionServiceFactory
= _ => interactionService;
698
options.
InteractionServiceFactory
= _ => interactionService;
729
options.
InteractionServiceFactory
= _ => interactionService;
937
options.
InteractionServiceFactory
= _ => interactionService;
Commands\BaseCommandTests.cs (20)
37
options.
InteractionServiceFactory
= _ => testInteractionService;
57
options.
InteractionServiceFactory
= _ => testInteractionService;
83
options.
InteractionServiceFactory
= _ => testInteractionService;
109
options.
InteractionServiceFactory
= _ => testInteractionService;
211
options.
InteractionServiceFactory
= _ => testInteractionService;
237
options.
InteractionServiceFactory
= _ => testInteractionService;
268
options.
InteractionServiceFactory
= _ => testInteractionService;
310
options.
InteractionServiceFactory
= _ => testInteractionService;
344
options.
InteractionServiceFactory
= _ => testInteractionService;
369
options.
InteractionServiceFactory
= _ => testInteractionService;
397
options.
InteractionServiceFactory
= _ => testInteractionService;
450
options.
InteractionServiceFactory
= _ => testInteractionService;
489
options.
InteractionServiceFactory
= _ => testInteractionService;
526
options.
InteractionServiceFactory
= _ => testInteractionService;
552
options.
InteractionServiceFactory
= _ => testInteractionService;
581
options.
InteractionServiceFactory
= _ => testInteractionService;
626
options.
InteractionServiceFactory
= _ => testInteractionService;
652
options.
InteractionServiceFactory
= _ => testInteractionService;
673
options.
InteractionServiceFactory
= _ => testInteractionService;
712
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\CertificatesCommandTests.cs (1)
92
options.
InteractionServiceFactory
= _ => interactionService;
Commands\ConfigCommandTests.cs (2)
80
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
924
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\DashboardRunCommandTests.cs (2)
34
options.
InteractionServiceFactory
= _ => testInteractionService;
656
options.
InteractionServiceFactory
= _ => interactionService;
Commands\DeployCommandTests.cs (2)
46
options.
InteractionServiceFactory
= sp =>
108
options.
InteractionServiceFactory
= sp =>
Commands\DoCommandTests.cs (4)
45
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp)
337
options.
InteractionServiceFactory
= _ => interactionService;
470
options.
InteractionServiceFactory
= _ => interactionService;
895
options.
InteractionServiceFactory
= _ => interactionService;
Commands\ExportCommandTests.cs (1)
927
options.
InteractionServiceFactory
= _ => interactionService;
Commands\InitCommandTests.cs (5)
349
options.
InteractionServiceFactory
= _ => interactionService;
452
options.
InteractionServiceFactory
= _ => interactionService;
510
options.
InteractionServiceFactory
= _ => interactionService;
558
options.
InteractionServiceFactory
= _ => interactionService;
883
options.
InteractionServiceFactory
= _ => interactionService;
Commands\LsCommandTests.cs (3)
572
options.
InteractionServiceFactory
= _ => interactionService;
639
options.
InteractionServiceFactory
= _ => interactionService;
683
options.
InteractionServiceFactory
= _ => interactionService;
Commands\NewCommandChannelResolutionTests.cs (1)
596
options.
InteractionServiceFactory
= _ => interactionService;
Commands\NewCommandTests.cs (32)
632
options.
InteractionServiceFactory
= (sp) => {
778
options.
InteractionServiceFactory
= (sp) =>
835
options.
InteractionServiceFactory
= _ => new TestInteractionService();
890
options.
InteractionServiceFactory
= _ => new TestInteractionService
973
options.
InteractionServiceFactory
= _ => new TestInteractionService();
1010
options.
InteractionServiceFactory
= _ => new TestInteractionService
1058
options.
InteractionServiceFactory
= _ => new TestInteractionService
1125
options.
InteractionServiceFactory
= _ => new TestInteractionService
1313
options.
InteractionServiceFactory
= _ => interactionService = new TestInteractionService();
1381
options.
InteractionServiceFactory
= _ => interactionService = new TestInteractionService();
1415
options.
InteractionServiceFactory
= _ => interactionService = new TestInteractionService();
1449
options.
InteractionServiceFactory
= _ => interactionService = new TestInteractionService();
1690
options.
InteractionServiceFactory
= _ => new TestInteractionService
1872
options.
InteractionServiceFactory
= _ => new TestInteractionService
2090
options.
InteractionServiceFactory
= _ => interactionService = new TestInteractionService();
2201
options.
InteractionServiceFactory
= _ => interactionService = new TestInteractionService();
2339
options.
InteractionServiceFactory
= (sp) =>
2510
options.
InteractionServiceFactory
= (sp) =>
2558
options.
InteractionServiceFactory
= (sp) =>
2594
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2653
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2713
options.
InteractionServiceFactory
= _ => new TestInteractionService();
2773
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2841
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2898
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2982
options.
InteractionServiceFactory
= sp =>
3044
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp)
3116
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp)
3180
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
3316
options.
InteractionServiceFactory
= (sp) =>
3397
options.
InteractionServiceFactory
= (sp) =>
3482
options.
InteractionServiceFactory
= _ => interactionService;
Commands\PsCommandTests.cs (2)
508
options.
InteractionServiceFactory
= _ => interactionService;
548
options.
InteractionServiceFactory
= _ => interactionService;
Commands\ResourceCommandTests.cs (3)
176
options.
InteractionServiceFactory
= _ => interactionService;
226
options.
InteractionServiceFactory
= _ => interactionService;
2332
options.
InteractionServiceFactory
= _ => interactionService;
Commands\RootCommandTests.cs (1)
286
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
Commands\RunCommandTests.cs (33)
91
options.
InteractionServiceFactory
= _ => interactionService;
130
options.
InteractionServiceFactory
= _ => interactionService;
184
options.
InteractionServiceFactory
= _ => interactionService;
287
options.
InteractionServiceFactory
= _ => interactionService;
339
options.
InteractionServiceFactory
= _ => interactionService;
398
options.
InteractionServiceFactory
= _ => interactionService;
572
options.
InteractionServiceFactory
= _ => interactionService;
677
options.
InteractionServiceFactory
= _ => interactionService;
739
options.
InteractionServiceFactory
= _ => interactionService;
897
options.
InteractionServiceFactory
= _ => interactionService;
927
options.
InteractionServiceFactory
= _ => interactionService;
956
options.
InteractionServiceFactory
= _ => interactionService;
1018
options.
InteractionServiceFactory
= _ => interactionService;
1319
options.
InteractionServiceFactory
= _ => interactionService;
1389
options.
InteractionServiceFactory
= _ => interactionService;
1457
options.
InteractionServiceFactory
= _ => interactionService;
1513
options.
InteractionServiceFactory
= _ => interactionService;
1571
options.
InteractionServiceFactory
= _ => interactionService;
1634
options.
InteractionServiceFactory
= _ => interactionService;
1701
options.
InteractionServiceFactory
= _ => interactionService;
1762
options.
InteractionServiceFactory
= _ => interactionService;
1814
options.
InteractionServiceFactory
= _ => interactionService;
1886
options.
InteractionServiceFactory
= _ => interactionService;
2103
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp)
2479
options.
InteractionServiceFactory
= (sp) => testInteractionService;
2580
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
2650
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
2719
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
2780
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
2833
options.
InteractionServiceFactory
= sp =>
4328
testOptions.
InteractionServiceFactory
= sp =>
4557
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
4633
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
Commands\Sdk\SdkExportCommandTests.cs (1)
380
options.
InteractionServiceFactory
= _ => interactionService;
Commands\SdkInstallerTests.cs (5)
41
options.
InteractionServiceFactory
= _ => new TestInteractionService();
63
options.
InteractionServiceFactory
= _ => new TestInteractionService();
88
options.
InteractionServiceFactory
= _ => new TestInteractionService();
128
options.
InteractionServiceFactory
= _ => new TestInteractionService();
166
options.
InteractionServiceFactory
= _ => new TestInteractionService();
Commands\StartCommandTests.cs (5)
48
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
143
options.
InteractionServiceFactory
= _ => interactionService;
172
options.
InteractionServiceFactory
= _ => interactionService;
342
options.
InteractionServiceFactory
= _ => interactionService;
460
testOptions.
InteractionServiceFactory
= sp =>
Commands\StopCommandTests.cs (13)
91
options.
InteractionServiceFactory
= _ => interactionService;
132
options.
InteractionServiceFactory
= _ => interactionService;
168
options.
InteractionServiceFactory
= _ => interactionService;
204
options.
InteractionServiceFactory
= _ => interactionService;
256
options.
InteractionServiceFactory
= _ => interactionService;
291
options.
InteractionServiceFactory
= _ => interactionService;
331
options.
InteractionServiceFactory
= _ => interactionService;
370
options.
InteractionServiceFactory
= _ => interactionService;
452
options.
InteractionServiceFactory
= _ => interactionService;
1103
options.
InteractionServiceFactory
= _ => interactionService;
1164
options.
InteractionServiceFactory
= _ => interactionService;
1202
options.
InteractionServiceFactory
= _ => interactionService;
1239
options.
InteractionServiceFactory
= _ => interactionService;
Commands\TelemetryCommandTests.cs (1)
281
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\TelemetryLogsCommandTests.cs (7)
288
options.
InteractionServiceFactory
= _ => testInteractionService;
311
options.
InteractionServiceFactory
= _ => testInteractionService;
347
options.
InteractionServiceFactory
= _ => testInteractionService;
390
options.
InteractionServiceFactory
= _ => testInteractionService;
429
options.
InteractionServiceFactory
= _ => testInteractionService;
459
options.
InteractionServiceFactory
= _ => testInteractionService;
499
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\TelemetrySpansCommandTests.cs (3)
211
options.
InteractionServiceFactory
= _ => testInteractionService;
247
options.
InteractionServiceFactory
= _ => testInteractionService;
287
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\TelemetryTracesCommandTests.cs (2)
456
options.
InteractionServiceFactory
= _ => testInteractionService;
492
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\UpdateCommandTests.cs (40)
98
options.
InteractionServiceFactory
= _ => new TestInteractionService();
151
options.
InteractionServiceFactory
= _ => new TestInteractionService();
266
options.
InteractionServiceFactory
= _ => new TestInteractionService()
311
options.
InteractionServiceFactory
= _ => new TestInteractionService()
412
options.
InteractionServiceFactory
= _ => interactionService;
464
options.
InteractionServiceFactory
= _ => new TestInteractionService
519
options.
InteractionServiceFactory
= _ => new TestInteractionService
568
options.
InteractionServiceFactory
= _ => interactionService;
647
options.
InteractionServiceFactory
= _ => interactionService;
724
options.
InteractionServiceFactory
= _ => interactionService;
881
options.
InteractionServiceFactory
= _ => new TestInteractionService()
965
options.
InteractionServiceFactory
= _ => interactionService;
1123
options.
InteractionServiceFactory
= _ => interactionService;
1168
options.
InteractionServiceFactory
= _ => interactionService;
1192
options.
InteractionServiceFactory
= _ => interactionService;
1227
options.
InteractionServiceFactory
= _ => interactionService;
1286
options.
InteractionServiceFactory
= _ => interactionService;
1390
options.
InteractionServiceFactory
= _ => interactionService;
1421
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1451
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1576
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1670
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1735
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1799
options.
InteractionServiceFactory
= _ =>
1857
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1934
options.
InteractionServiceFactory
= _ => wrappedService;
1979
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2146
options.
InteractionServiceFactory
= _ => new TestInteractionService();
2198
options.
InteractionServiceFactory
= _ =>
2420
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2522
options.
InteractionServiceFactory
= _ => new TestInteractionService();
2591
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2647
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2832
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2919
options.
InteractionServiceFactory
= _ => wrappedService;
2946
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2991
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3036
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3119
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3251
options.
InteractionServiceFactory
= _ =>
Commands\WaitCommandTests.cs (5)
159
options.
InteractionServiceFactory
= _ => interactionService;
200
options.
InteractionServiceFactory
= _ => interactionService;
269
options.
InteractionServiceFactory
= _ => interactionService;
337
options.
InteractionServiceFactory
= _ => interactionService;
379
options.
InteractionServiceFactory
= _ => interactionService;
DotNet\DotNetCliRunnerTests.cs (2)
991
options.
InteractionServiceFactory
= sp =>
1048
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
Projects\DotNetAppHostProjectTests.cs (1)
1620
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
Projects\ProjectUpdaterTests.cs (35)
102
config.
InteractionServiceFactory
= (sp) =>
233
config.
InteractionServiceFactory
= (s) =>
383
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
508
config.
InteractionServiceFactory
= (s) =>
650
config.
InteractionServiceFactory
= (s) =>
791
config.
InteractionServiceFactory
= (s) =>
929
config.
InteractionServiceFactory
= (sp) =>
1034
config.
InteractionServiceFactory
= (sp) =>
1136
config.
InteractionServiceFactory
= (sp) =>
1272
config.
InteractionServiceFactory
= (sp) =>
1354
config.
InteractionServiceFactory
= (sp) =>
1428
config.
InteractionServiceFactory
= (sp) =>
1524
config.
InteractionServiceFactory
= (sp) =>
1698
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
1848
config.
InteractionServiceFactory
= (sp) =>
1971
config.
InteractionServiceFactory
= (sp) =>
2085
config.
InteractionServiceFactory
= (sp) =>
2195
config.
InteractionServiceFactory
= (sp) =>
2293
config.
InteractionServiceFactory
= (sp) =>
2395
config.
InteractionServiceFactory
= (sp) =>
2479
config.
InteractionServiceFactory
= (sp) =>
2561
config.
InteractionServiceFactory
= (sp) =>
2635
config.
InteractionServiceFactory
= (sp) =>
2742
config.
InteractionServiceFactory
= (sp) =>
2829
config.
InteractionServiceFactory
= (sp) =>
2898
config.
InteractionServiceFactory
= (sp) =>
2986
config.
InteractionServiceFactory
= (sp) =>
3068
config.
InteractionServiceFactory
= (sp) =>
3147
config.
InteractionServiceFactory
= (sp) =>
3238
config.
InteractionServiceFactory
= (sp) =>
3382
config.
InteractionServiceFactory
= (sp) =>
3786
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
3868
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
3945
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
4035
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
Utils\CliTestHelper.cs (1)
70
testOptions.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp)
Utils\CliUpdateNotificationServiceTests.cs (9)
41
configure.
InteractionServiceFactory
= (sp) =>
85
configure.
InteractionServiceFactory
= (sp) =>
129
configure.
InteractionServiceFactory
= (sp) =>
159
configure.
InteractionServiceFactory
= sp =>
196
configure.
InteractionServiceFactory
= _ =>
234
configure.
InteractionServiceFactory
= _ =>
270
configure.
InteractionServiceFactory
= _ =>
307
configure.
InteractionServiceFactory
= _ =>
342
configure.
InteractionServiceFactory
= (sp) =>
1 reference to InteractionServiceFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
142
services.AddSingleton(options.
InteractionServiceFactory
);