324 writes to InteractionServiceFactory
Aspire.Cli.Tests (324)
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)
279
options.
InteractionServiceFactory
= _ => testInteractionService;
300
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;
199
options.
InteractionServiceFactory
= _ => interactionService;
243
options.
InteractionServiceFactory
= _ => interactionService;
307
options.
InteractionServiceFactory
= _ => interactionService;
354
options.
InteractionServiceFactory
= _ => interactionService;
457
options.
InteractionServiceFactory
= _ => interactionService;
500
options.
InteractionServiceFactory
= _ => interactionService;
691
options.
InteractionServiceFactory
= _ => interactionService;
720
options.
InteractionServiceFactory
= _ => interactionService;
754
options.
InteractionServiceFactory
= _ => interactionService;
1003
options.
InteractionServiceFactory
= _ => interactionService;
1036
options.
InteractionServiceFactory
= _ => interactionService;
Commands\BaseCommandTests.cs (22)
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;
312
options.
InteractionServiceFactory
= serviceProvider => new TestExtensionInteractionService(serviceProvider)
357
options.
InteractionServiceFactory
= serviceProvider => new TestExtensionInteractionService(serviceProvider);
388
options.
InteractionServiceFactory
= _ => testInteractionService;
422
options.
InteractionServiceFactory
= _ => testInteractionService;
447
options.
InteractionServiceFactory
= _ => testInteractionService;
475
options.
InteractionServiceFactory
= _ => testInteractionService;
528
options.
InteractionServiceFactory
= _ => testInteractionService;
567
options.
InteractionServiceFactory
= _ => testInteractionService;
604
options.
InteractionServiceFactory
= _ => testInteractionService;
630
options.
InteractionServiceFactory
= _ => testInteractionService;
659
options.
InteractionServiceFactory
= _ => testInteractionService;
704
options.
InteractionServiceFactory
= _ => testInteractionService;
730
options.
InteractionServiceFactory
= _ => testInteractionService;
751
options.
InteractionServiceFactory
= _ => testInteractionService;
790
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\CertificatesCommandTests.cs (1)
92
options.
InteractionServiceFactory
= _ => interactionService;
Commands\ConfigCommandTests.cs (2)
81
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
964
options.
InteractionServiceFactory
= _ => testInteractionService;
Commands\DashboardRunCommandTests.cs (2)
34
options.
InteractionServiceFactory
= _ => testInteractionService;
720
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 (7)
205
options.
InteractionServiceFactory
= _ => new TestInteractionService
448
options.
InteractionServiceFactory
= _ => interactionService;
496
options.
InteractionServiceFactory
= _ => interactionService;
622
options.
InteractionServiceFactory
= _ => interactionService;
689
options.
InteractionServiceFactory
= _ => interactionService;
739
options.
InteractionServiceFactory
= _ => interactionService;
1066
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 (33)
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);
3253
options.
InteractionServiceFactory
= _ => interactionService;
3369
options.
InteractionServiceFactory
= (sp) =>
3450
options.
InteractionServiceFactory
= (sp) =>
3535
options.
InteractionServiceFactory
= _ => interactionService;
Commands\PsCommandTests.cs (2)
507
options.
InteractionServiceFactory
= _ => interactionService;
547
options.
InteractionServiceFactory
= _ => interactionService;
Commands\ResourceCommandTests.cs (3)
176
options.
InteractionServiceFactory
= _ => interactionService;
224
options.
InteractionServiceFactory
= _ => interactionService;
2330
options.
InteractionServiceFactory
= _ => interactionService;
Commands\RootCommandTests.cs (1)
286
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
Commands\RunCommandTests.cs (40)
93
options.
InteractionServiceFactory
= _ => interactionService;
132
options.
InteractionServiceFactory
= _ => interactionService;
186
options.
InteractionServiceFactory
= _ => interactionService;
289
options.
InteractionServiceFactory
= _ => interactionService;
334
options.
InteractionServiceFactory
= _ => interactionService;
375
options.
InteractionServiceFactory
= _ => interactionService;
423
options.
InteractionServiceFactory
= _ => interactionService;
461
options.
InteractionServiceFactory
= _ => interactionService;
581
options.
InteractionServiceFactory
= _ => interactionService;
650
options.
InteractionServiceFactory
= _ => interactionService;
698
options.
InteractionServiceFactory
= _ => interactionService;
761
options.
InteractionServiceFactory
= _ => interactionService;
970
options.
InteractionServiceFactory
= _ => interactionService;
1075
options.
InteractionServiceFactory
= _ => interactionService;
1149
options.
InteractionServiceFactory
= _ => interactionService;
1314
options.
InteractionServiceFactory
= _ => interactionService;
1344
options.
InteractionServiceFactory
= _ => interactionService;
1373
options.
InteractionServiceFactory
= _ => interactionService;
1435
options.
InteractionServiceFactory
= _ => interactionService;
1736
options.
InteractionServiceFactory
= _ => interactionService;
1806
options.
InteractionServiceFactory
= _ => interactionService;
1874
options.
InteractionServiceFactory
= _ => interactionService;
1930
options.
InteractionServiceFactory
= _ => interactionService;
1990
options.
InteractionServiceFactory
= _ => interactionService;
2061
options.
InteractionServiceFactory
= _ => interactionService;
2254
options.
InteractionServiceFactory
= _ => interactionService;
2315
options.
InteractionServiceFactory
= _ => interactionService;
2367
options.
InteractionServiceFactory
= _ => interactionService;
2439
options.
InteractionServiceFactory
= _ => interactionService;
2660
options.
InteractionServiceFactory
= _ => interactionService;
2783
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp)
3159
options.
InteractionServiceFactory
= (sp) => testInteractionService;
3260
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
3330
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
3399
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
3460
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
3513
options.
InteractionServiceFactory
= sp =>
5008
testOptions.
InteractionServiceFactory
= sp =>
5237
options.
InteractionServiceFactory
= extensionInteractionServiceFactory;
5313
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)
49
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
144
options.
InteractionServiceFactory
= _ => interactionService;
173
options.
InteractionServiceFactory
= _ => interactionService;
343
options.
InteractionServiceFactory
= _ => interactionService;
461
testOptions.
InteractionServiceFactory
= sp =>
Commands\StopCommandTests.cs (14)
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;
1112
options.
InteractionServiceFactory
= _ => interactionService;
1173
options.
InteractionServiceFactory
= _ => interactionService;
1195
options.
InteractionServiceFactory
= _ => interactionService;
1233
options.
InteractionServiceFactory
= _ => interactionService;
1270
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\UpdateCommandRepositoryToolsTests.cs (1)
553
options.
InteractionServiceFactory
= _ => interaction;
Commands\UpdateCommandTests.cs (40)
99
options.
InteractionServiceFactory
= _ => new TestInteractionService();
155
options.
InteractionServiceFactory
= _ => new TestInteractionService();
270
options.
InteractionServiceFactory
= _ => new TestInteractionService()
315
options.
InteractionServiceFactory
= _ => new TestInteractionService()
416
options.
InteractionServiceFactory
= _ => interactionService;
468
options.
InteractionServiceFactory
= _ => new TestInteractionService
523
options.
InteractionServiceFactory
= _ => new TestInteractionService
572
options.
InteractionServiceFactory
= _ => interactionService;
651
options.
InteractionServiceFactory
= _ => interactionService;
728
options.
InteractionServiceFactory
= _ => interactionService;
885
options.
InteractionServiceFactory
= _ => new TestInteractionService()
969
options.
InteractionServiceFactory
= _ => interactionService;
1127
options.
InteractionServiceFactory
= _ => interactionService;
1172
options.
InteractionServiceFactory
= _ => interactionService;
1196
options.
InteractionServiceFactory
= _ => interactionService;
1231
options.
InteractionServiceFactory
= _ => interactionService;
1290
options.
InteractionServiceFactory
= _ => interactionService;
1394
options.
InteractionServiceFactory
= _ => interactionService;
1425
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1455
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1580
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1674
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1739
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1803
options.
InteractionServiceFactory
= _ =>
1861
options.
InteractionServiceFactory
= _ => new TestInteractionService()
1938
options.
InteractionServiceFactory
= _ => wrappedService;
1983
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2150
options.
InteractionServiceFactory
= _ => new TestInteractionService();
2202
options.
InteractionServiceFactory
= _ =>
2424
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2526
options.
InteractionServiceFactory
= _ => new TestInteractionService();
2595
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2651
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2837
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2924
options.
InteractionServiceFactory
= _ => wrappedService;
2951
options.
InteractionServiceFactory
= _ => new TestInteractionService()
2996
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3041
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3124
options.
InteractionServiceFactory
= _ => new TestInteractionService()
3256
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)
1025
options.
InteractionServiceFactory
= sp =>
1098
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
Projects\DotNetAppHostProjectTests.cs (3)
1721
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2348
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
2397
options.
InteractionServiceFactory
= sp => new TestExtensionInteractionService(sp);
Projects\ProjectUpdaterTests.cs (35)
137
config.
InteractionServiceFactory
= (sp) =>
268
config.
InteractionServiceFactory
= (s) =>
418
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
543
config.
InteractionServiceFactory
= (s) =>
685
config.
InteractionServiceFactory
= (s) =>
826
config.
InteractionServiceFactory
= (s) =>
964
config.
InteractionServiceFactory
= (sp) =>
1069
config.
InteractionServiceFactory
= (sp) =>
1171
config.
InteractionServiceFactory
= (sp) =>
1307
config.
InteractionServiceFactory
= (sp) =>
1389
config.
InteractionServiceFactory
= (sp) =>
1463
config.
InteractionServiceFactory
= (sp) =>
1559
config.
InteractionServiceFactory
= (sp) =>
1733
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
1883
config.
InteractionServiceFactory
= (sp) =>
2006
config.
InteractionServiceFactory
= (sp) =>
2120
config.
InteractionServiceFactory
= (sp) =>
2230
config.
InteractionServiceFactory
= (sp) =>
2328
config.
InteractionServiceFactory
= (sp) =>
2430
config.
InteractionServiceFactory
= (sp) =>
2514
config.
InteractionServiceFactory
= (sp) =>
2596
config.
InteractionServiceFactory
= (sp) =>
2670
config.
InteractionServiceFactory
= (sp) =>
2777
config.
InteractionServiceFactory
= (sp) =>
2864
config.
InteractionServiceFactory
= (sp) =>
2933
config.
InteractionServiceFactory
= (sp) =>
3021
config.
InteractionServiceFactory
= (sp) =>
3103
config.
InteractionServiceFactory
= (sp) =>
3182
config.
InteractionServiceFactory
= (sp) =>
3273
config.
InteractionServiceFactory
= (sp) =>
3417
config.
InteractionServiceFactory
= (sp) =>
3821
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
3903
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
3980
config.
InteractionServiceFactory
= (s) => new TestInteractionService();
4070
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
);