324 writes to InteractionServiceFactory
Aspire.Cli.Tests (324)
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)
279options.InteractionServiceFactory = _ => testInteractionService; 300options.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)
37options.InteractionServiceFactory = _ => testInteractionService; 57options.InteractionServiceFactory = _ => testInteractionService; 83options.InteractionServiceFactory = _ => testInteractionService; 109options.InteractionServiceFactory = _ => testInteractionService; 211options.InteractionServiceFactory = _ => testInteractionService; 237options.InteractionServiceFactory = _ => testInteractionService; 268options.InteractionServiceFactory = _ => testInteractionService; 312options.InteractionServiceFactory = serviceProvider => new TestExtensionInteractionService(serviceProvider) 357options.InteractionServiceFactory = serviceProvider => new TestExtensionInteractionService(serviceProvider); 388options.InteractionServiceFactory = _ => testInteractionService; 422options.InteractionServiceFactory = _ => testInteractionService; 447options.InteractionServiceFactory = _ => testInteractionService; 475options.InteractionServiceFactory = _ => testInteractionService; 528options.InteractionServiceFactory = _ => testInteractionService; 567options.InteractionServiceFactory = _ => testInteractionService; 604options.InteractionServiceFactory = _ => testInteractionService; 630options.InteractionServiceFactory = _ => testInteractionService; 659options.InteractionServiceFactory = _ => testInteractionService; 704options.InteractionServiceFactory = _ => testInteractionService; 730options.InteractionServiceFactory = _ => testInteractionService; 751options.InteractionServiceFactory = _ => testInteractionService; 790options.InteractionServiceFactory = _ => testInteractionService;
Commands\CertificatesCommandTests.cs (1)
92options.InteractionServiceFactory = _ => interactionService;
Commands\ConfigCommandTests.cs (2)
81options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 964options.InteractionServiceFactory = _ => testInteractionService;
Commands\DashboardRunCommandTests.cs (2)
34options.InteractionServiceFactory = _ => testInteractionService; 720options.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 (7)
205options.InteractionServiceFactory = _ => new TestInteractionService 448options.InteractionServiceFactory = _ => interactionService; 496options.InteractionServiceFactory = _ => interactionService; 622options.InteractionServiceFactory = _ => interactionService; 689options.InteractionServiceFactory = _ => interactionService; 739options.InteractionServiceFactory = _ => interactionService; 1066options.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(); 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); 3253options.InteractionServiceFactory = _ => interactionService; 3369options.InteractionServiceFactory = (sp) => 3450options.InteractionServiceFactory = (sp) => 3535options.InteractionServiceFactory = _ => interactionService;
Commands\PsCommandTests.cs (2)
507options.InteractionServiceFactory = _ => interactionService; 547options.InteractionServiceFactory = _ => interactionService;
Commands\ResourceCommandTests.cs (3)
176options.InteractionServiceFactory = _ => interactionService; 224options.InteractionServiceFactory = _ => interactionService; 2330options.InteractionServiceFactory = _ => interactionService;
Commands\RootCommandTests.cs (1)
286options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Commands\RunCommandTests.cs (40)
93options.InteractionServiceFactory = _ => interactionService; 132options.InteractionServiceFactory = _ => interactionService; 186options.InteractionServiceFactory = _ => interactionService; 289options.InteractionServiceFactory = _ => interactionService; 334options.InteractionServiceFactory = _ => interactionService; 375options.InteractionServiceFactory = _ => interactionService; 423options.InteractionServiceFactory = _ => interactionService; 461options.InteractionServiceFactory = _ => interactionService; 581options.InteractionServiceFactory = _ => interactionService; 650options.InteractionServiceFactory = _ => interactionService; 698options.InteractionServiceFactory = _ => interactionService; 761options.InteractionServiceFactory = _ => interactionService; 970options.InteractionServiceFactory = _ => interactionService; 1075options.InteractionServiceFactory = _ => interactionService; 1149options.InteractionServiceFactory = _ => interactionService; 1314options.InteractionServiceFactory = _ => interactionService; 1344options.InteractionServiceFactory = _ => interactionService; 1373options.InteractionServiceFactory = _ => interactionService; 1435options.InteractionServiceFactory = _ => interactionService; 1736options.InteractionServiceFactory = _ => interactionService; 1806options.InteractionServiceFactory = _ => interactionService; 1874options.InteractionServiceFactory = _ => interactionService; 1930options.InteractionServiceFactory = _ => interactionService; 1990options.InteractionServiceFactory = _ => interactionService; 2061options.InteractionServiceFactory = _ => interactionService; 2254options.InteractionServiceFactory = _ => interactionService; 2315options.InteractionServiceFactory = _ => interactionService; 2367options.InteractionServiceFactory = _ => interactionService; 2439options.InteractionServiceFactory = _ => interactionService; 2660options.InteractionServiceFactory = _ => interactionService; 2783options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3159options.InteractionServiceFactory = (sp) => testInteractionService; 3260options.InteractionServiceFactory = extensionInteractionServiceFactory; 3330options.InteractionServiceFactory = extensionInteractionServiceFactory; 3399options.InteractionServiceFactory = extensionInteractionServiceFactory; 3460options.InteractionServiceFactory = extensionInteractionServiceFactory; 3513options.InteractionServiceFactory = sp => 5008testOptions.InteractionServiceFactory = sp => 5237options.InteractionServiceFactory = extensionInteractionServiceFactory; 5313options.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 (14)
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; 1112options.InteractionServiceFactory = _ => interactionService; 1173options.InteractionServiceFactory = _ => interactionService; 1195options.InteractionServiceFactory = _ => interactionService; 1233options.InteractionServiceFactory = _ => interactionService; 1270options.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\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)
1025options.InteractionServiceFactory = sp => 1098options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\DotNetAppHostProjectTests.cs (3)
1721options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2348options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2397options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\ProjectUpdaterTests.cs (35)
137config.InteractionServiceFactory = (sp) => 268config.InteractionServiceFactory = (s) => 418config.InteractionServiceFactory = (s) => new TestInteractionService(); 543config.InteractionServiceFactory = (s) => 685config.InteractionServiceFactory = (s) => 826config.InteractionServiceFactory = (s) => 964config.InteractionServiceFactory = (sp) => 1069config.InteractionServiceFactory = (sp) => 1171config.InteractionServiceFactory = (sp) => 1307config.InteractionServiceFactory = (sp) => 1389config.InteractionServiceFactory = (sp) => 1463config.InteractionServiceFactory = (sp) => 1559config.InteractionServiceFactory = (sp) => 1733config.InteractionServiceFactory = (s) => new TestInteractionService(); 1883config.InteractionServiceFactory = (sp) => 2006config.InteractionServiceFactory = (sp) => 2120config.InteractionServiceFactory = (sp) => 2230config.InteractionServiceFactory = (sp) => 2328config.InteractionServiceFactory = (sp) => 2430config.InteractionServiceFactory = (sp) => 2514config.InteractionServiceFactory = (sp) => 2596config.InteractionServiceFactory = (sp) => 2670config.InteractionServiceFactory = (sp) => 2777config.InteractionServiceFactory = (sp) => 2864config.InteractionServiceFactory = (sp) => 2933config.InteractionServiceFactory = (sp) => 3021config.InteractionServiceFactory = (sp) => 3103config.InteractionServiceFactory = (sp) => 3182config.InteractionServiceFactory = (sp) => 3273config.InteractionServiceFactory = (sp) => 3417config.InteractionServiceFactory = (sp) => 3821config.InteractionServiceFactory = (s) => new TestInteractionService(); 3903config.InteractionServiceFactory = (s) => new TestInteractionService(); 3980config.InteractionServiceFactory = (s) => new TestInteractionService(); 4070config.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);