336 writes to InteractionServiceFactory
Aspire.Cli.Tests (336)
Certificates\CertificateServiceTests.cs (5)
355options.InteractionServiceFactory = _ => new TestInteractionService(); 396options.InteractionServiceFactory = _ => new TestInteractionService(); 487options.InteractionServiceFactory = _ => new TestInteractionService(); 571options.InteractionServiceFactory = _ => new TestInteractionService(); 605options.InteractionServiceFactory = _ => new TestInteractionService();
CliBootstrapTests.cs (2)
448options.InteractionServiceFactory = _ => testInteractionService; 469options.InteractionServiceFactory = _ => testInteractionService;
Commands\AddCommandTests.cs (45)
63options.InteractionServiceFactory = _ => testInteractionService; 94options.InteractionServiceFactory = _ => testInteractionService; 130options.InteractionServiceFactory = _ => testInteractionService; 213options.InteractionServiceFactory = _ => testInteractionService; 270options.InteractionServiceFactory = _ => testInteractionService; 326options.InteractionServiceFactory = _ => testInteractionService; 419options.InteractionServiceFactory = _ => testInteractionService; 491options.InteractionServiceFactory = _ => testInteractionService; 578options.InteractionServiceFactory = _ => testInteractionService; 673options.InteractionServiceFactory = _ => testInteractionService; 741options.InteractionServiceFactory = _ => testInteractionService; 784options.InteractionServiceFactory = _ => testInteractionService; 873options.InteractionServiceFactory = _ => testInteractionService; 925options.InteractionServiceFactory = _ => testInteractionService; 963options.InteractionServiceFactory = _ => testInteractionService; 1701options.InteractionServiceFactory = _ => testInteractionService; 1770options.InteractionServiceFactory = _ => testInteractionService; 1842options.InteractionServiceFactory = _ => testInteractionService; 2068options.InteractionServiceFactory = _ => testInteractionService; 2104options.InteractionServiceFactory = (sp) => 2198options.InteractionServiceFactory = (sp) => 2246options.InteractionServiceFactory = (sp) => 2294options.InteractionServiceFactory = (sp) => 2352options.InteractionServiceFactory = (sp) => 2627options.InteractionServiceFactory = _ => new TestInteractionService(); 2662options.InteractionServiceFactory = _ => new TestInteractionService() 2724options.InteractionServiceFactory = _ => new TestInteractionService() 3033options.InteractionServiceFactory = _ => new TestInteractionService(); 3083options.InteractionServiceFactory = _ => new TestInteractionService(); 3133options.InteractionServiceFactory = _ => new TestInteractionService(); 3179options.InteractionServiceFactory = _ => testInteractionService; 3227options.InteractionServiceFactory = _ => testInteractionService; 3274options.InteractionServiceFactory = _ => testInteractionService; 3323options.InteractionServiceFactory = _ => testInteractionService; 3381options.InteractionServiceFactory = _ => testInteractionService; 3435options.InteractionServiceFactory = _ => new TestInteractionService(); 3481options.InteractionServiceFactory = _ => testInteractionService; 3697options.InteractionServiceFactory = _ => testInteractionService; 3748options.InteractionServiceFactory = _ => testInteractionService; 3861options.InteractionServiceFactory = _ => testInteractionService; 3922options.InteractionServiceFactory = _ => testInteractionService; 3974options.InteractionServiceFactory = _ => testInteractionService; 4197options.InteractionServiceFactory = _ => testInteractionService; 4285options.InteractionServiceFactory = _ => testInteractionService; 4373options.InteractionServiceFactory = _ => testInteractionService;
Commands\AgentInitCommandTests.cs (14)
39options.InteractionServiceFactory = _ => interactionService; 72options.InteractionServiceFactory = _ => interactionService; 117options.InteractionServiceFactory = _ => interactionService; 199options.InteractionServiceFactory = _ => interactionService; 243options.InteractionServiceFactory = _ => interactionService; 307options.InteractionServiceFactory = _ => interactionService; 354options.InteractionServiceFactory = _ => interactionService; 457options.InteractionServiceFactory = _ => interactionService; 500options.InteractionServiceFactory = _ => interactionService; 691options.InteractionServiceFactory = _ => interactionService; 720options.InteractionServiceFactory = _ => interactionService; 754options.InteractionServiceFactory = _ => interactionService; 1003options.InteractionServiceFactory = _ => interactionService; 1036options.InteractionServiceFactory = _ => interactionService;
Commands\BaseCommandTests.cs (22)
41options.InteractionServiceFactory = _ => testInteractionService; 61options.InteractionServiceFactory = _ => testInteractionService; 87options.InteractionServiceFactory = _ => testInteractionService; 113options.InteractionServiceFactory = _ => testInteractionService; 215options.InteractionServiceFactory = _ => testInteractionService; 241options.InteractionServiceFactory = _ => testInteractionService; 272options.InteractionServiceFactory = _ => testInteractionService; 316options.InteractionServiceFactory = serviceProvider => new TestExtensionInteractionService(serviceProvider) 361options.InteractionServiceFactory = serviceProvider => new TestExtensionInteractionService(serviceProvider); 392options.InteractionServiceFactory = _ => testInteractionService; 426options.InteractionServiceFactory = _ => testInteractionService; 451options.InteractionServiceFactory = _ => testInteractionService; 479options.InteractionServiceFactory = _ => testInteractionService; 532options.InteractionServiceFactory = _ => testInteractionService; 571options.InteractionServiceFactory = _ => testInteractionService; 608options.InteractionServiceFactory = _ => testInteractionService; 634options.InteractionServiceFactory = _ => testInteractionService; 663options.InteractionServiceFactory = _ => testInteractionService; 708options.InteractionServiceFactory = _ => testInteractionService; 734options.InteractionServiceFactory = _ => testInteractionService; 755options.InteractionServiceFactory = _ => testInteractionService; 794options.InteractionServiceFactory = _ => testInteractionService;
Commands\CertificatesCommandTests.cs (1)
92options.InteractionServiceFactory = _ => interactionService;
Commands\ConfigCommandTests.cs (2)
87options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 1059options.InteractionServiceFactory = _ => testInteractionService;
Commands\DashboardRunCommandTests.cs (2)
34options.InteractionServiceFactory = _ => testInteractionService; 721options.InteractionServiceFactory = _ => interactionService;
Commands\DeployCommandTests.cs (2)
47options.InteractionServiceFactory = sp => 109options.InteractionServiceFactory = sp =>
Commands\DoCommandTests.cs (4)
45options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 337options.InteractionServiceFactory = _ => interactionService; 470options.InteractionServiceFactory = _ => interactionService; 895options.InteractionServiceFactory = _ => interactionService;
Commands\ExportCommandTests.cs (1)
927options.InteractionServiceFactory = _ => interactionService;
Commands\InitCommandTests.cs (7)
205options.InteractionServiceFactory = _ => new TestInteractionService 448options.InteractionServiceFactory = _ => interactionService; 496options.InteractionServiceFactory = _ => interactionService; 622options.InteractionServiceFactory = _ => interactionService; 689options.InteractionServiceFactory = _ => interactionService; 739options.InteractionServiceFactory = _ => interactionService; 1064options.InteractionServiceFactory = _ => interactionService;
Commands\LsCommandTests.cs (3)
572options.InteractionServiceFactory = _ => interactionService; 639options.InteractionServiceFactory = _ => interactionService; 683options.InteractionServiceFactory = _ => interactionService;
Commands\NewCommandChannelResolutionTests.cs (1)
596options.InteractionServiceFactory = _ => interactionService;
Commands\NewCommandTests.cs (33)
632options.InteractionServiceFactory = (sp) => { 778options.InteractionServiceFactory = (sp) => 835options.InteractionServiceFactory = _ => new TestInteractionService(); 890options.InteractionServiceFactory = _ => new TestInteractionService 973options.InteractionServiceFactory = _ => new TestInteractionService(); 1010options.InteractionServiceFactory = _ => new TestInteractionService 1058options.InteractionServiceFactory = _ => new TestInteractionService 1125options.InteractionServiceFactory = _ => new TestInteractionService 1313options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1381options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1415options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1449options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1727options.InteractionServiceFactory = _ => new TestInteractionService 1909options.InteractionServiceFactory = _ => new TestInteractionService 2127options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 2238options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 2376options.InteractionServiceFactory = (sp) => 2547options.InteractionServiceFactory = (sp) => 2595options.InteractionServiceFactory = (sp) => 2631options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2690options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2750options.InteractionServiceFactory = _ => new TestInteractionService(); 2810options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2878options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2935options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3019options.InteractionServiceFactory = sp => 3081options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3153options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3217options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3290options.InteractionServiceFactory = _ => interactionService; 3406options.InteractionServiceFactory = (sp) => 3487options.InteractionServiceFactory = (sp) => 3572options.InteractionServiceFactory = _ => interactionService;
Commands\PsCommandTests.cs (2)
512options.InteractionServiceFactory = _ => interactionService; 552options.InteractionServiceFactory = _ => interactionService;
Commands\ResourceCommandTests.cs (3)
176options.InteractionServiceFactory = _ => interactionService; 224options.InteractionServiceFactory = _ => interactionService; 2372options.InteractionServiceFactory = _ => interactionService;
Commands\RootCommandTests.cs (1)
286options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Commands\RunCommandTests.cs (40)
139options.InteractionServiceFactory = _ => interactionService; 178options.InteractionServiceFactory = _ => interactionService; 232options.InteractionServiceFactory = _ => interactionService; 335options.InteractionServiceFactory = _ => interactionService; 380options.InteractionServiceFactory = _ => interactionService; 421options.InteractionServiceFactory = _ => interactionService; 469options.InteractionServiceFactory = _ => interactionService; 507options.InteractionServiceFactory = _ => interactionService; 627options.InteractionServiceFactory = _ => interactionService; 696options.InteractionServiceFactory = _ => interactionService; 744options.InteractionServiceFactory = _ => interactionService; 807options.InteractionServiceFactory = _ => interactionService; 1016options.InteractionServiceFactory = _ => interactionService; 1121options.InteractionServiceFactory = _ => interactionService; 1195options.InteractionServiceFactory = _ => interactionService; 1360options.InteractionServiceFactory = _ => interactionService; 1390options.InteractionServiceFactory = _ => interactionService; 1419options.InteractionServiceFactory = _ => interactionService; 1481options.InteractionServiceFactory = _ => interactionService; 1782options.InteractionServiceFactory = _ => interactionService; 1852options.InteractionServiceFactory = _ => interactionService; 1920options.InteractionServiceFactory = _ => interactionService; 1976options.InteractionServiceFactory = _ => interactionService; 2036options.InteractionServiceFactory = _ => interactionService; 2107options.InteractionServiceFactory = _ => interactionService; 2300options.InteractionServiceFactory = _ => interactionService; 2361options.InteractionServiceFactory = _ => interactionService; 2413options.InteractionServiceFactory = _ => interactionService; 2485options.InteractionServiceFactory = _ => interactionService; 2706options.InteractionServiceFactory = _ => interactionService; 2829options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3205options.InteractionServiceFactory = (sp) => testInteractionService; 3306options.InteractionServiceFactory = extensionInteractionServiceFactory; 3376options.InteractionServiceFactory = extensionInteractionServiceFactory; 3445options.InteractionServiceFactory = extensionInteractionServiceFactory; 3506options.InteractionServiceFactory = extensionInteractionServiceFactory; 3559options.InteractionServiceFactory = sp => 5054testOptions.InteractionServiceFactory = sp => 5283options.InteractionServiceFactory = extensionInteractionServiceFactory; 5359options.InteractionServiceFactory = extensionInteractionServiceFactory;
Commands\Sdk\SdkExportCommandTests.cs (1)
380options.InteractionServiceFactory = _ => interactionService;
Commands\SdkInstallerTests.cs (5)
41options.InteractionServiceFactory = _ => new TestInteractionService(); 63options.InteractionServiceFactory = _ => new TestInteractionService(); 88options.InteractionServiceFactory = _ => new TestInteractionService(); 128options.InteractionServiceFactory = _ => new TestInteractionService(); 166options.InteractionServiceFactory = _ => new TestInteractionService();
Commands\StartCommandTests.cs (5)
49options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 144options.InteractionServiceFactory = _ => interactionService; 173options.InteractionServiceFactory = _ => interactionService; 343options.InteractionServiceFactory = _ => interactionService; 461testOptions.InteractionServiceFactory = sp =>
Commands\StopCommandTests.cs (15)
356options.InteractionServiceFactory = _ => interactionService; 397options.InteractionServiceFactory = _ => interactionService; 433options.InteractionServiceFactory = _ => interactionService; 469options.InteractionServiceFactory = _ => interactionService; 521options.InteractionServiceFactory = _ => interactionService; 556options.InteractionServiceFactory = _ => interactionService; 596options.InteractionServiceFactory = _ => interactionService; 635options.InteractionServiceFactory = _ => interactionService; 717options.InteractionServiceFactory = _ => interactionService; 1377options.InteractionServiceFactory = _ => interactionService; 1438options.InteractionServiceFactory = _ => interactionService; 1460options.InteractionServiceFactory = _ => interactionService; 1498options.InteractionServiceFactory = _ => interactionService; 1535options.InteractionServiceFactory = _ => interactionService; 1592options.InteractionServiceFactory = _ => interactionService;
Commands\TelemetryCommandTests.cs (2)
290options.InteractionServiceFactory = _ => testInteractionService; 359options.InteractionServiceFactory = _ => interactionService;
Commands\TelemetryFollowTests.cs (1)
269options.InteractionServiceFactory = _ => interactionService;
Commands\TelemetryLogsCommandTests.cs (7)
288options.InteractionServiceFactory = _ => testInteractionService; 311options.InteractionServiceFactory = _ => testInteractionService; 352options.InteractionServiceFactory = _ => testInteractionService; 395options.InteractionServiceFactory = _ => testInteractionService; 434options.InteractionServiceFactory = _ => testInteractionService; 464options.InteractionServiceFactory = _ => testInteractionService; 504options.InteractionServiceFactory = _ => testInteractionService;
Commands\TelemetrySpansCommandTests.cs (3)
211options.InteractionServiceFactory = _ => testInteractionService; 247options.InteractionServiceFactory = _ => testInteractionService; 287options.InteractionServiceFactory = _ => testInteractionService;
Commands\TelemetryTracesCommandTests.cs (2)
456options.InteractionServiceFactory = _ => testInteractionService; 492options.InteractionServiceFactory = _ => testInteractionService;
Commands\TrayCommandTests.cs (1)
558options.InteractionServiceFactory = _ => interaction;
Commands\TrayProtocolCommandTests.cs (6)
32options.InteractionServiceFactory = _ => interaction; 65options.InteractionServiceFactory = _ => interaction; 113options.InteractionServiceFactory = _ => interaction; 181options.InteractionServiceFactory = _ => interaction; 235configuration.InteractionServiceFactory = _ => interaction; 282configuration.InteractionServiceFactory = _ => interaction;
Commands\UpdateCommandRepositoryToolsTests.cs (1)
553options.InteractionServiceFactory = _ => interaction;
Commands\UpdateCommandTests.cs (40)
99options.InteractionServiceFactory = _ => new TestInteractionService(); 155options.InteractionServiceFactory = _ => new TestInteractionService(); 270options.InteractionServiceFactory = _ => new TestInteractionService() 315options.InteractionServiceFactory = _ => new TestInteractionService() 416options.InteractionServiceFactory = _ => interactionService; 468options.InteractionServiceFactory = _ => new TestInteractionService 523options.InteractionServiceFactory = _ => new TestInteractionService 572options.InteractionServiceFactory = _ => interactionService; 651options.InteractionServiceFactory = _ => interactionService; 728options.InteractionServiceFactory = _ => interactionService; 885options.InteractionServiceFactory = _ => new TestInteractionService() 969options.InteractionServiceFactory = _ => interactionService; 1127options.InteractionServiceFactory = _ => interactionService; 1172options.InteractionServiceFactory = _ => interactionService; 1196options.InteractionServiceFactory = _ => interactionService; 1231options.InteractionServiceFactory = _ => interactionService; 1290options.InteractionServiceFactory = _ => interactionService; 1394options.InteractionServiceFactory = _ => interactionService; 1425options.InteractionServiceFactory = _ => new TestInteractionService() 1455options.InteractionServiceFactory = _ => new TestInteractionService() 1580options.InteractionServiceFactory = _ => new TestInteractionService() 1674options.InteractionServiceFactory = _ => new TestInteractionService() 1739options.InteractionServiceFactory = _ => new TestInteractionService() 1803options.InteractionServiceFactory = _ => 1861options.InteractionServiceFactory = _ => new TestInteractionService() 1938options.InteractionServiceFactory = _ => wrappedService; 1983options.InteractionServiceFactory = _ => new TestInteractionService() 2150options.InteractionServiceFactory = _ => new TestInteractionService(); 2202options.InteractionServiceFactory = _ => 2424options.InteractionServiceFactory = _ => new TestInteractionService() 2526options.InteractionServiceFactory = _ => new TestInteractionService(); 2595options.InteractionServiceFactory = _ => new TestInteractionService() 2651options.InteractionServiceFactory = _ => new TestInteractionService() 2837options.InteractionServiceFactory = _ => new TestInteractionService() 2924options.InteractionServiceFactory = _ => wrappedService; 2951options.InteractionServiceFactory = _ => new TestInteractionService() 2996options.InteractionServiceFactory = _ => new TestInteractionService() 3041options.InteractionServiceFactory = _ => new TestInteractionService() 3124options.InteractionServiceFactory = _ => new TestInteractionService() 3256options.InteractionServiceFactory = _ =>
Commands\WaitCommandTests.cs (5)
159options.InteractionServiceFactory = _ => interactionService; 200options.InteractionServiceFactory = _ => interactionService; 269options.InteractionServiceFactory = _ => interactionService; 337options.InteractionServiceFactory = _ => interactionService; 379options.InteractionServiceFactory = _ => interactionService;
DotNet\DotNetCliRunnerTests.cs (2)
1036options.InteractionServiceFactory = sp => 1109options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\DotNetAppHostProjectTests.cs (3)
1756options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2412options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2461options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\ProjectUpdaterTests.cs (37)
109config.InteractionServiceFactory = _ => new TestInteractionService { ConfirmCallback = (_, _) => true }; 234config.InteractionServiceFactory = _ => new TestInteractionService { ConfirmCallback = (_, _) => true }; 443config.InteractionServiceFactory = (sp) => 574config.InteractionServiceFactory = (s) => 724config.InteractionServiceFactory = (s) => new TestInteractionService(); 849config.InteractionServiceFactory = (s) => 991config.InteractionServiceFactory = (s) => 1132config.InteractionServiceFactory = (s) => 1270config.InteractionServiceFactory = (sp) => 1375config.InteractionServiceFactory = (sp) => 1477config.InteractionServiceFactory = (sp) => 1613config.InteractionServiceFactory = (sp) => 1695config.InteractionServiceFactory = (sp) => 1769config.InteractionServiceFactory = (sp) => 1865config.InteractionServiceFactory = (sp) => 2039config.InteractionServiceFactory = (s) => new TestInteractionService(); 2189config.InteractionServiceFactory = (sp) => 2312config.InteractionServiceFactory = (sp) => 2426config.InteractionServiceFactory = (sp) => 2536config.InteractionServiceFactory = (sp) => 2634config.InteractionServiceFactory = (sp) => 2736config.InteractionServiceFactory = (sp) => 2820config.InteractionServiceFactory = (sp) => 2902config.InteractionServiceFactory = (sp) => 2976config.InteractionServiceFactory = (sp) => 3083config.InteractionServiceFactory = (sp) => 3170config.InteractionServiceFactory = (sp) => 3239config.InteractionServiceFactory = (sp) => 3327config.InteractionServiceFactory = (sp) => 3409config.InteractionServiceFactory = (sp) => 3488config.InteractionServiceFactory = (sp) => 3579config.InteractionServiceFactory = (sp) => 3732config.InteractionServiceFactory = (sp) => 4136config.InteractionServiceFactory = (s) => new TestInteractionService(); 4218config.InteractionServiceFactory = (s) => new TestInteractionService(); 4295config.InteractionServiceFactory = (s) => new TestInteractionService(); 4385config.InteractionServiceFactory = (s) => new TestInteractionService();
Utils\CliTestHelper.cs (1)
71testOptions.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp)
Utils\CliUpdateNotificationServiceTests.cs (9)
41configure.InteractionServiceFactory = (sp) => 85configure.InteractionServiceFactory = (sp) => 129configure.InteractionServiceFactory = (sp) => 159configure.InteractionServiceFactory = sp => 196configure.InteractionServiceFactory = _ => 234configure.InteractionServiceFactory = _ => 270configure.InteractionServiceFactory = _ => 307configure.InteractionServiceFactory = _ => 342configure.InteractionServiceFactory = (sp) =>
1 reference to InteractionServiceFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
147services.AddSingleton(options.InteractionServiceFactory);