308 writes to InteractionServiceFactory
Aspire.Cli.Tests (308)
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)
226options.InteractionServiceFactory = _ => testInteractionService; 247options.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; 198options.InteractionServiceFactory = _ => interactionService; 241options.InteractionServiceFactory = _ => interactionService; 305options.InteractionServiceFactory = _ => interactionService; 352options.InteractionServiceFactory = _ => interactionService; 399options.InteractionServiceFactory = _ => interactionService; 442options.InteractionServiceFactory = _ => interactionService; 634options.InteractionServiceFactory = _ => interactionService; 663options.InteractionServiceFactory = _ => interactionService; 698options.InteractionServiceFactory = _ => interactionService; 729options.InteractionServiceFactory = _ => interactionService; 937options.InteractionServiceFactory = _ => interactionService;
Commands\BaseCommandTests.cs (20)
37options.InteractionServiceFactory = _ => testInteractionService; 57options.InteractionServiceFactory = _ => testInteractionService; 83options.InteractionServiceFactory = _ => testInteractionService; 109options.InteractionServiceFactory = _ => testInteractionService; 211options.InteractionServiceFactory = _ => testInteractionService; 237options.InteractionServiceFactory = _ => testInteractionService; 268options.InteractionServiceFactory = _ => testInteractionService; 310options.InteractionServiceFactory = _ => testInteractionService; 344options.InteractionServiceFactory = _ => testInteractionService; 369options.InteractionServiceFactory = _ => testInteractionService; 397options.InteractionServiceFactory = _ => testInteractionService; 450options.InteractionServiceFactory = _ => testInteractionService; 489options.InteractionServiceFactory = _ => testInteractionService; 526options.InteractionServiceFactory = _ => testInteractionService; 552options.InteractionServiceFactory = _ => testInteractionService; 581options.InteractionServiceFactory = _ => testInteractionService; 626options.InteractionServiceFactory = _ => testInteractionService; 652options.InteractionServiceFactory = _ => testInteractionService; 673options.InteractionServiceFactory = _ => testInteractionService; 712options.InteractionServiceFactory = _ => testInteractionService;
Commands\CertificatesCommandTests.cs (1)
92options.InteractionServiceFactory = _ => interactionService;
Commands\ConfigCommandTests.cs (2)
80options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 924options.InteractionServiceFactory = _ => testInteractionService;
Commands\DashboardRunCommandTests.cs (2)
34options.InteractionServiceFactory = _ => testInteractionService; 656options.InteractionServiceFactory = _ => interactionService;
Commands\DeployCommandTests.cs (2)
46options.InteractionServiceFactory = sp => 108options.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 (5)
349options.InteractionServiceFactory = _ => interactionService; 452options.InteractionServiceFactory = _ => interactionService; 510options.InteractionServiceFactory = _ => interactionService; 558options.InteractionServiceFactory = _ => interactionService; 883options.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 (32)
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(); 1690options.InteractionServiceFactory = _ => new TestInteractionService 1872options.InteractionServiceFactory = _ => new TestInteractionService 2090options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 2201options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 2339options.InteractionServiceFactory = (sp) => 2510options.InteractionServiceFactory = (sp) => 2558options.InteractionServiceFactory = (sp) => 2594options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2653options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2713options.InteractionServiceFactory = _ => new TestInteractionService(); 2773options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2841options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2898options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2982options.InteractionServiceFactory = sp => 3044options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3116options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3180options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3316options.InteractionServiceFactory = (sp) => 3397options.InteractionServiceFactory = (sp) => 3482options.InteractionServiceFactory = _ => interactionService;
Commands\PsCommandTests.cs (2)
508options.InteractionServiceFactory = _ => interactionService; 548options.InteractionServiceFactory = _ => interactionService;
Commands\ResourceCommandTests.cs (3)
176options.InteractionServiceFactory = _ => interactionService; 226options.InteractionServiceFactory = _ => interactionService; 2332options.InteractionServiceFactory = _ => interactionService;
Commands\RootCommandTests.cs (1)
286options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Commands\RunCommandTests.cs (33)
91options.InteractionServiceFactory = _ => interactionService; 130options.InteractionServiceFactory = _ => interactionService; 184options.InteractionServiceFactory = _ => interactionService; 287options.InteractionServiceFactory = _ => interactionService; 339options.InteractionServiceFactory = _ => interactionService; 398options.InteractionServiceFactory = _ => interactionService; 572options.InteractionServiceFactory = _ => interactionService; 677options.InteractionServiceFactory = _ => interactionService; 739options.InteractionServiceFactory = _ => interactionService; 897options.InteractionServiceFactory = _ => interactionService; 927options.InteractionServiceFactory = _ => interactionService; 956options.InteractionServiceFactory = _ => interactionService; 1018options.InteractionServiceFactory = _ => interactionService; 1319options.InteractionServiceFactory = _ => interactionService; 1389options.InteractionServiceFactory = _ => interactionService; 1457options.InteractionServiceFactory = _ => interactionService; 1513options.InteractionServiceFactory = _ => interactionService; 1571options.InteractionServiceFactory = _ => interactionService; 1634options.InteractionServiceFactory = _ => interactionService; 1701options.InteractionServiceFactory = _ => interactionService; 1762options.InteractionServiceFactory = _ => interactionService; 1814options.InteractionServiceFactory = _ => interactionService; 1886options.InteractionServiceFactory = _ => interactionService; 2103options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 2479options.InteractionServiceFactory = (sp) => testInteractionService; 2580options.InteractionServiceFactory = extensionInteractionServiceFactory; 2650options.InteractionServiceFactory = extensionInteractionServiceFactory; 2719options.InteractionServiceFactory = extensionInteractionServiceFactory; 2780options.InteractionServiceFactory = extensionInteractionServiceFactory; 2833options.InteractionServiceFactory = sp => 4328testOptions.InteractionServiceFactory = sp => 4557options.InteractionServiceFactory = extensionInteractionServiceFactory; 4633options.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)
48options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 143options.InteractionServiceFactory = _ => interactionService; 172options.InteractionServiceFactory = _ => interactionService; 342options.InteractionServiceFactory = _ => interactionService; 460testOptions.InteractionServiceFactory = sp =>
Commands\StopCommandTests.cs (13)
91options.InteractionServiceFactory = _ => interactionService; 132options.InteractionServiceFactory = _ => interactionService; 168options.InteractionServiceFactory = _ => interactionService; 204options.InteractionServiceFactory = _ => interactionService; 256options.InteractionServiceFactory = _ => interactionService; 291options.InteractionServiceFactory = _ => interactionService; 331options.InteractionServiceFactory = _ => interactionService; 370options.InteractionServiceFactory = _ => interactionService; 452options.InteractionServiceFactory = _ => interactionService; 1103options.InteractionServiceFactory = _ => interactionService; 1164options.InteractionServiceFactory = _ => interactionService; 1202options.InteractionServiceFactory = _ => interactionService; 1239options.InteractionServiceFactory = _ => interactionService;
Commands\TelemetryCommandTests.cs (1)
281options.InteractionServiceFactory = _ => testInteractionService;
Commands\TelemetryLogsCommandTests.cs (7)
288options.InteractionServiceFactory = _ => testInteractionService; 311options.InteractionServiceFactory = _ => testInteractionService; 347options.InteractionServiceFactory = _ => testInteractionService; 390options.InteractionServiceFactory = _ => testInteractionService; 429options.InteractionServiceFactory = _ => testInteractionService; 459options.InteractionServiceFactory = _ => testInteractionService; 499options.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\UpdateCommandTests.cs (40)
98options.InteractionServiceFactory = _ => new TestInteractionService(); 151options.InteractionServiceFactory = _ => new TestInteractionService(); 266options.InteractionServiceFactory = _ => new TestInteractionService() 311options.InteractionServiceFactory = _ => new TestInteractionService() 412options.InteractionServiceFactory = _ => interactionService; 464options.InteractionServiceFactory = _ => new TestInteractionService 519options.InteractionServiceFactory = _ => new TestInteractionService 568options.InteractionServiceFactory = _ => interactionService; 647options.InteractionServiceFactory = _ => interactionService; 724options.InteractionServiceFactory = _ => interactionService; 881options.InteractionServiceFactory = _ => new TestInteractionService() 965options.InteractionServiceFactory = _ => interactionService; 1123options.InteractionServiceFactory = _ => interactionService; 1168options.InteractionServiceFactory = _ => interactionService; 1192options.InteractionServiceFactory = _ => interactionService; 1227options.InteractionServiceFactory = _ => interactionService; 1286options.InteractionServiceFactory = _ => interactionService; 1390options.InteractionServiceFactory = _ => interactionService; 1421options.InteractionServiceFactory = _ => new TestInteractionService() 1451options.InteractionServiceFactory = _ => new TestInteractionService() 1576options.InteractionServiceFactory = _ => new TestInteractionService() 1670options.InteractionServiceFactory = _ => new TestInteractionService() 1735options.InteractionServiceFactory = _ => new TestInteractionService() 1799options.InteractionServiceFactory = _ => 1857options.InteractionServiceFactory = _ => new TestInteractionService() 1934options.InteractionServiceFactory = _ => wrappedService; 1979options.InteractionServiceFactory = _ => new TestInteractionService() 2146options.InteractionServiceFactory = _ => new TestInteractionService(); 2198options.InteractionServiceFactory = _ => 2420options.InteractionServiceFactory = _ => new TestInteractionService() 2522options.InteractionServiceFactory = _ => new TestInteractionService(); 2591options.InteractionServiceFactory = _ => new TestInteractionService() 2647options.InteractionServiceFactory = _ => new TestInteractionService() 2832options.InteractionServiceFactory = _ => new TestInteractionService() 2919options.InteractionServiceFactory = _ => wrappedService; 2946options.InteractionServiceFactory = _ => new TestInteractionService() 2991options.InteractionServiceFactory = _ => new TestInteractionService() 3036options.InteractionServiceFactory = _ => new TestInteractionService() 3119options.InteractionServiceFactory = _ => new TestInteractionService() 3251options.InteractionServiceFactory = _ =>
Commands\WaitCommandTests.cs (5)
159options.InteractionServiceFactory = _ => interactionService; 200options.InteractionServiceFactory = _ => interactionService; 269options.InteractionServiceFactory = _ => interactionService; 337options.InteractionServiceFactory = _ => interactionService; 379options.InteractionServiceFactory = _ => interactionService;
DotNet\DotNetCliRunnerTests.cs (2)
991options.InteractionServiceFactory = sp => 1048options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\DotNetAppHostProjectTests.cs (1)
1620options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\ProjectUpdaterTests.cs (35)
102config.InteractionServiceFactory = (sp) => 233config.InteractionServiceFactory = (s) => 383config.InteractionServiceFactory = (s) => new TestInteractionService(); 508config.InteractionServiceFactory = (s) => 650config.InteractionServiceFactory = (s) => 791config.InteractionServiceFactory = (s) => 929config.InteractionServiceFactory = (sp) => 1034config.InteractionServiceFactory = (sp) => 1136config.InteractionServiceFactory = (sp) => 1272config.InteractionServiceFactory = (sp) => 1354config.InteractionServiceFactory = (sp) => 1428config.InteractionServiceFactory = (sp) => 1524config.InteractionServiceFactory = (sp) => 1698config.InteractionServiceFactory = (s) => new TestInteractionService(); 1848config.InteractionServiceFactory = (sp) => 1971config.InteractionServiceFactory = (sp) => 2085config.InteractionServiceFactory = (sp) => 2195config.InteractionServiceFactory = (sp) => 2293config.InteractionServiceFactory = (sp) => 2395config.InteractionServiceFactory = (sp) => 2479config.InteractionServiceFactory = (sp) => 2561config.InteractionServiceFactory = (sp) => 2635config.InteractionServiceFactory = (sp) => 2742config.InteractionServiceFactory = (sp) => 2829config.InteractionServiceFactory = (sp) => 2898config.InteractionServiceFactory = (sp) => 2986config.InteractionServiceFactory = (sp) => 3068config.InteractionServiceFactory = (sp) => 3147config.InteractionServiceFactory = (sp) => 3238config.InteractionServiceFactory = (sp) => 3382config.InteractionServiceFactory = (sp) => 3786config.InteractionServiceFactory = (s) => new TestInteractionService(); 3868config.InteractionServiceFactory = (s) => new TestInteractionService(); 3945config.InteractionServiceFactory = (s) => new TestInteractionService(); 4035config.InteractionServiceFactory = (s) => new TestInteractionService();
Utils\CliTestHelper.cs (1)
70testOptions.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)
142services.AddSingleton(options.InteractionServiceFactory);