418 writes to InteractionServiceFactory
Aspire.Cli.Tests (418)
Certificates\CertificateServiceTests.cs (5)
357options.InteractionServiceFactory = _ => new TestInteractionService(); 398options.InteractionServiceFactory = _ => new TestInteractionService(); 489options.InteractionServiceFactory = _ => new TestInteractionService(); 573options.InteractionServiceFactory = _ => new TestInteractionService(); 607options.InteractionServiceFactory = _ => new TestInteractionService();
CliBootstrapTests.cs (2)
445options.InteractionServiceFactory = _ => testInteractionService; 466options.InteractionServiceFactory = _ => testInteractionService;
Commands\AddCommandTests.cs (58)
107options.InteractionServiceFactory = _ => interaction; 366options.InteractionServiceFactory = _ => interaction; 481options.InteractionServiceFactory = _ => interactionService; 558options.InteractionServiceFactory = _ => interactionService; 605options.InteractionServiceFactory = _ => interactionService; 650options.InteractionServiceFactory = _ => interactionService; 1124options.InteractionServiceFactory = _ => interactionService; 1238options.InteractionServiceFactory = _ => interactionService; 1303options.InteractionServiceFactory = _ => testInteractionService; 1334options.InteractionServiceFactory = _ => testInteractionService; 1370options.InteractionServiceFactory = _ => testInteractionService; 1460options.InteractionServiceFactory = _ => testInteractionService; 1517options.InteractionServiceFactory = _ => testInteractionService; 1573options.InteractionServiceFactory = _ => testInteractionService; 1666options.InteractionServiceFactory = _ => testInteractionService; 1738options.InteractionServiceFactory = _ => testInteractionService; 1825options.InteractionServiceFactory = _ => testInteractionService; 1920options.InteractionServiceFactory = _ => testInteractionService; 2008options.InteractionServiceFactory = _ => testInteractionService; 2051options.InteractionServiceFactory = _ => testInteractionService; 2140options.InteractionServiceFactory = _ => testInteractionService; 2192options.InteractionServiceFactory = _ => testInteractionService; 2230options.InteractionServiceFactory = _ => testInteractionService; 3060options.InteractionServiceFactory = _ => testInteractionService; 3129options.InteractionServiceFactory = _ => testInteractionService; 3201options.InteractionServiceFactory = _ => testInteractionService; 3369options.InteractionServiceFactory = _ => interaction; 3449options.InteractionServiceFactory = _ => testInteractionService; 3471options.InteractionServiceFactory = _ => testInteractionService; 3507options.InteractionServiceFactory = (sp) => 3637options.InteractionServiceFactory = (sp) => 3685options.InteractionServiceFactory = (sp) => 3733options.InteractionServiceFactory = (sp) => 3791options.InteractionServiceFactory = (sp) => 4059options.InteractionServiceFactory = _ => interaction; 4133options.InteractionServiceFactory = _ => new TestInteractionService(); 4168options.InteractionServiceFactory = _ => new TestInteractionService() 4230options.InteractionServiceFactory = _ => new TestInteractionService() 4627options.InteractionServiceFactory = _ => new TestInteractionService(); 4686options.InteractionServiceFactory = _ => new TestInteractionService(); 4737options.InteractionServiceFactory = _ => new TestInteractionService(); 4796options.InteractionServiceFactory = _ => new TestInteractionService(); 4850options.InteractionServiceFactory = _ => new TestInteractionService(); 4896options.InteractionServiceFactory = _ => testInteractionService; 4944options.InteractionServiceFactory = _ => testInteractionService; 4991options.InteractionServiceFactory = _ => testInteractionService; 5040options.InteractionServiceFactory = _ => testInteractionService; 5098options.InteractionServiceFactory = _ => testInteractionService; 5152options.InteractionServiceFactory = _ => new TestInteractionService(); 5198options.InteractionServiceFactory = _ => testInteractionService; 5414options.InteractionServiceFactory = _ => testInteractionService; 5465options.InteractionServiceFactory = _ => testInteractionService; 5582options.InteractionServiceFactory = _ => testInteractionService; 5644options.InteractionServiceFactory = _ => testInteractionService; 5696options.InteractionServiceFactory = _ => testInteractionService; 5919options.InteractionServiceFactory = _ => testInteractionService; 6007options.InteractionServiceFactory = _ => testInteractionService; 6095options.InteractionServiceFactory = _ => testInteractionService;
Commands\AgentInitClientSelectionTests.cs (14)
87options.InteractionServiceFactory = _ => interaction; 303options.InteractionServiceFactory = _ => interaction; 343options.InteractionServiceFactory = _ => interaction; 375options.InteractionServiceFactory = _ => interaction; 425options.InteractionServiceFactory = _ => interaction; 512options.InteractionServiceFactory = _ => interaction; 561options.InteractionServiceFactory = _ => interaction; 599options.InteractionServiceFactory = _ => interaction; 736options.InteractionServiceFactory = _ => interaction; 932options.InteractionServiceFactory = _ => interaction; 1027options.InteractionServiceFactory = _ => interaction; 1155options.InteractionServiceFactory = _ => interaction; 1182options.InteractionServiceFactory = _ => interaction; 1623options.InteractionServiceFactory = _ => interaction;
Commands\AgentInitCommandTests.cs (24)
99options.InteractionServiceFactory = _ => interaction; 147options.InteractionServiceFactory = _ => interaction; 298options.InteractionServiceFactory = _ => interaction; 354options.InteractionServiceFactory = _ => interaction; 382options.InteractionServiceFactory = _ => interaction; 551options.InteractionServiceFactory = _ => interaction; 587options.InteractionServiceFactory = _ => interaction; 730options.InteractionServiceFactory = _ => interactionService; 754options.InteractionServiceFactory = _ => interactionService; 787options.InteractionServiceFactory = _ => interactionService; 826options.InteractionServiceFactory = _ => interactionService; 866options.InteractionServiceFactory = _ => interaction; 910options.InteractionServiceFactory = _ => interaction; 951options.InteractionServiceFactory = _ => interaction; 982options.InteractionServiceFactory = _ => interaction; 1009options.InteractionServiceFactory = _ => interaction; 1086options.InteractionServiceFactory = _ => interaction; 1146options.InteractionServiceFactory = _ => interaction; 1232options.InteractionServiceFactory = _ => interaction; 1338options.InteractionServiceFactory = _ => interaction; 1375options.InteractionServiceFactory = _ => interaction; 1414options.InteractionServiceFactory = _ => interaction; 1469options.InteractionServiceFactory = _ => interaction; 1498options.InteractionServiceFactory = _ => interaction;
Commands\BaseCommandTests.cs (23)
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) 362options.InteractionServiceFactory = serviceProvider => new TestExtensionInteractionService(serviceProvider); 393options.InteractionServiceFactory = _ => testInteractionService; 427options.InteractionServiceFactory = _ => testInteractionService; 486options.InteractionServiceFactory = _ => testInteractionService; 537options.InteractionServiceFactory = _ => testInteractionService; 565options.InteractionServiceFactory = _ => testInteractionService; 618options.InteractionServiceFactory = _ => testInteractionService; 657options.InteractionServiceFactory = _ => testInteractionService; 694options.InteractionServiceFactory = _ => testInteractionService; 720options.InteractionServiceFactory = _ => testInteractionService; 749options.InteractionServiceFactory = _ => testInteractionService; 794options.InteractionServiceFactory = _ => testInteractionService; 820options.InteractionServiceFactory = _ => testInteractionService; 841options.InteractionServiceFactory = _ => testInteractionService; 880options.InteractionServiceFactory = _ => testInteractionService;
Commands\CertificatesCommandTests.cs (1)
92options.InteractionServiceFactory = _ => interactionService;
Commands\ConfigCommandTests.cs (4)
99options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 443options => options.InteractionServiceFactory = _ => interaction); 477options => options.InteractionServiceFactory = _ => interaction); 1075options.InteractionServiceFactory = _ => testInteractionService;
Commands\ConfigSourceCommandTests.cs (17)
55options.InteractionServiceFactory = _ => interaction; 111options.InteractionServiceFactory = _ => interaction; 153options.InteractionServiceFactory = _ => interaction; 372options.InteractionServiceFactory = _ => interaction; 411options.InteractionServiceFactory = _ => interaction; 452options.InteractionServiceFactory = _ => interaction; 517options.InteractionServiceFactory = _ => interaction; 599options.InteractionServiceFactory = _ => interaction; 649options.InteractionServiceFactory = _ => interaction; 708options.InteractionServiceFactory = _ => interaction; 737options.InteractionServiceFactory = _ => interaction; 789options.InteractionServiceFactory = _ => interaction; 872options.InteractionServiceFactory = _ => interaction; 909options.InteractionServiceFactory = _ => new TestInteractionService(); 952options.InteractionServiceFactory = _ => interaction; 1087options.InteractionServiceFactory = _ => interaction; 1569options.InteractionServiceFactory = _ => new TestInteractionService();
Commands\DashboardRunCommandTests.cs (2)
34options.InteractionServiceFactory = _ => testInteractionService; 721options.InteractionServiceFactory = _ => interactionService;
Commands\DeployCommandTests.cs (2)
47options.InteractionServiceFactory = sp => 109options.InteractionServiceFactory = sp =>
Commands\DescribeCommandTests.cs (1)
1337options.InteractionServiceFactory = _ => interactionService;
Commands\DoCommandTests.cs (4)
45options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 341options.InteractionServiceFactory = _ => interactionService; 475options.InteractionServiceFactory = _ => interactionService; 900options.InteractionServiceFactory = _ => interactionService;
Commands\ExportCommandTests.cs (1)
927options.InteractionServiceFactory = _ => interactionService;
Commands\InitCommandTests.cs (10)
50options.InteractionServiceFactory = _ => new TestInteractionService(); 295options.InteractionServiceFactory = _ => new TestInteractionService 555options.InteractionServiceFactory = _ => interactionService; 603options.InteractionServiceFactory = _ => interactionService; 725options.InteractionServiceFactory = _ => interactionService; 800options.InteractionServiceFactory = _ => interactionService; 930options.InteractionServiceFactory = _ => interactionService; 966options.InteractionServiceFactory = _ => interactionService; 1026options.InteractionServiceFactory = _ => interaction; 1430options.InteractionServiceFactory = _ => interactionService;
Commands\LsCommandTests.cs (3)
572options.InteractionServiceFactory = _ => interactionService; 639options.InteractionServiceFactory = _ => interactionService; 683options.InteractionServiceFactory = _ => interactionService;
Commands\NewCommandChannelResolutionTests.cs (1)
597options.InteractionServiceFactory = _ => interactionService;
Commands\NewCommandLocalTemplateTests.cs (1)
2041options.InteractionServiceFactory = _ => interaction;
Commands\NewCommandTests.cs (35)
62options.InteractionServiceFactory = _ => new TestInteractionService(); 667options.InteractionServiceFactory = (sp) => 802options.InteractionServiceFactory = (sp) => 859options.InteractionServiceFactory = _ => new TestInteractionService(); 914options.InteractionServiceFactory = _ => new TestInteractionService 971options.InteractionServiceFactory = _ => new TestInteractionService 1049options.InteractionServiceFactory = _ => new TestInteractionService(); 1086options.InteractionServiceFactory = _ => new TestInteractionService 1134options.InteractionServiceFactory = _ => new TestInteractionService 1201options.InteractionServiceFactory = _ => new TestInteractionService 1396options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1470options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1505options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1539options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 1855options.InteractionServiceFactory = _ => new TestInteractionService 2037options.InteractionServiceFactory = _ => new TestInteractionService 2255options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 2373options.InteractionServiceFactory = _ => interactionService = new TestInteractionService(); 2541options.InteractionServiceFactory = (sp) => 2716options.InteractionServiceFactory = (sp) => 2764options.InteractionServiceFactory = (sp) => 2800options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2859options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2919options.InteractionServiceFactory = _ => new TestInteractionService(); 2979options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3047options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3104options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3188options.InteractionServiceFactory = sp => 3250options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3322options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3386options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 3450options.InteractionServiceFactory = _ => interactionService; 3595options.InteractionServiceFactory = (sp) => 3676options.InteractionServiceFactory = (sp) => 3761options.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; 1024options.InteractionServiceFactory = _ => interactionService; 1129options.InteractionServiceFactory = _ => interactionService; 1203options.InteractionServiceFactory = _ => interactionService; 1368options.InteractionServiceFactory = _ => interactionService; 1398options.InteractionServiceFactory = _ => interactionService; 1427options.InteractionServiceFactory = _ => interactionService; 1492options.InteractionServiceFactory = _ => interactionService; 1793options.InteractionServiceFactory = _ => interactionService; 1863options.InteractionServiceFactory = _ => interactionService; 1931options.InteractionServiceFactory = _ => interactionService; 1987options.InteractionServiceFactory = _ => interactionService; 2047options.InteractionServiceFactory = _ => interactionService; 2118options.InteractionServiceFactory = _ => interactionService; 2311options.InteractionServiceFactory = _ => interactionService; 2372options.InteractionServiceFactory = _ => interactionService; 2424options.InteractionServiceFactory = _ => interactionService; 2496options.InteractionServiceFactory = _ => interactionService; 2717options.InteractionServiceFactory = _ => interactionService; 2840options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp) 3216options.InteractionServiceFactory = (sp) => testInteractionService; 3317options.InteractionServiceFactory = extensionInteractionServiceFactory; 3387options.InteractionServiceFactory = extensionInteractionServiceFactory; 3456options.InteractionServiceFactory = extensionInteractionServiceFactory; 3517options.InteractionServiceFactory = extensionInteractionServiceFactory; 3570options.InteractionServiceFactory = sp => 5065testOptions.InteractionServiceFactory = sp => 5294options.InteractionServiceFactory = extensionInteractionServiceFactory; 5370options.InteractionServiceFactory = extensionInteractionServiceFactory;
Commands\Sdk\SdkExportCommandTests.cs (1)
400options.InteractionServiceFactory = _ => interactionService;
Commands\Sdk\SdkResponseFileTests.cs (1)
53options.InteractionServiceFactory = _ => interaction;
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\SecretCommandTests.cs (3)
272options => options.InteractionServiceFactory = _ => interaction); 322configure: options => options.InteractionServiceFactory = _ => interaction); 372options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp)
Commands\StartCommandTests.cs (6)
43options.InteractionServiceFactory = _ => testInteractionService; 82options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 177options.InteractionServiceFactory = _ => interactionService; 206options.InteractionServiceFactory = _ => interactionService; 376options.InteractionServiceFactory = _ => interactionService; 494testOptions.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\TerminalCommandTests.cs (2)
212options => options.InteractionServiceFactory = _ => interaction); 307options => options.InteractionServiceFactory = _ => interaction);
Commands\TerminalTapePlayCommandTests.cs (1)
176}, configureOptions: options => options.InteractionServiceFactory = _ => interaction);
Commands\TrayCommandTests.cs (1)
624options.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)
631options.InteractionServiceFactory = _ => interaction;
Commands\UpdateCommandTests.cs (42)
99options.InteractionServiceFactory = _ => new TestInteractionService(); 155options.InteractionServiceFactory = _ => new TestInteractionService(); 270options.InteractionServiceFactory = _ => new TestInteractionService() 315options.InteractionServiceFactory = _ => new TestInteractionService() 395options.InteractionServiceFactory = _ => interaction; 468options.InteractionServiceFactory = _ => interactionService; 520options.InteractionServiceFactory = _ => new TestInteractionService 575options.InteractionServiceFactory = _ => new TestInteractionService 624options.InteractionServiceFactory = _ => interactionService; 703options.InteractionServiceFactory = _ => interactionService; 780options.InteractionServiceFactory = _ => interactionService; 937options.InteractionServiceFactory = _ => new TestInteractionService() 1021options.InteractionServiceFactory = _ => interactionService; 1218options.InteractionServiceFactory = _ => interactionService; 1264options.InteractionServiceFactory = _ => interactionService; 1288options.InteractionServiceFactory = _ => interactionService; 1323options.InteractionServiceFactory = _ => interactionService; 1382options.InteractionServiceFactory = _ => interactionService; 1486options.InteractionServiceFactory = _ => interactionService; 1517options.InteractionServiceFactory = _ => new TestInteractionService() 1547options.InteractionServiceFactory = _ => new TestInteractionService() 1594options.InteractionServiceFactory = _ => interactionService; 1699options.InteractionServiceFactory = _ => new TestInteractionService() 1793options.InteractionServiceFactory = _ => new TestInteractionService() 1858options.InteractionServiceFactory = _ => new TestInteractionService() 1922options.InteractionServiceFactory = _ => 1980options.InteractionServiceFactory = _ => new TestInteractionService() 2057options.InteractionServiceFactory = _ => wrappedService; 2106options.InteractionServiceFactory = _ => new TestInteractionService() 2273options.InteractionServiceFactory = _ => new TestInteractionService(); 2336options.InteractionServiceFactory = _ => 2559options.InteractionServiceFactory = _ => new TestInteractionService() 2666options.InteractionServiceFactory = _ => new TestInteractionService(); 2735options.InteractionServiceFactory = _ => new TestInteractionService() 2794options.InteractionServiceFactory = _ => new TestInteractionService() 3243options.InteractionServiceFactory = _ => interaction; 3330options.InteractionServiceFactory = _ => wrappedService; 3357options.InteractionServiceFactory = _ => new TestInteractionService() 3402options.InteractionServiceFactory = _ => new TestInteractionService() 3447options.InteractionServiceFactory = _ => new TestInteractionService() 3530options.InteractionServiceFactory = _ => new TestInteractionService() 3662options.InteractionServiceFactory = _ =>
Commands\WaitCommandTests.cs (5)
159options.InteractionServiceFactory = _ => interactionService; 200options.InteractionServiceFactory = _ => interactionService; 269options.InteractionServiceFactory = _ => interactionService; 337options.InteractionServiceFactory = _ => interactionService; 379options.InteractionServiceFactory = _ => interactionService;
Configuration\ConfigSourceServiceTests.cs (4)
213options.InteractionServiceFactory = _ => interaction; 289options.InteractionServiceFactory = _ => interaction; 385options.InteractionServiceFactory = _ => interaction; 1217options.InteractionServiceFactory = _ => interaction;
DotNet\DotNetCliRunnerTests.cs (2)
1653options.InteractionServiceFactory = sp => 1726options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Mcp\ListIntegrationsToolTests.cs (2)
92options.InteractionServiceFactory = _ => interactionService; 120options.InteractionServiceFactory = _ => interactionService;
NuGet\NuGetPackageCacheTests.cs (1)
71configure.InteractionServiceFactory = _ => interactionService;
Projects\DotNetAppHostProjectTests.cs (3)
1796options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2452options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp); 2501options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Projects\ProjectUpdaterNuGetConfigurationTests.cs (1)
2046options.InteractionServiceFactory = _ => new TestInteractionService();
Projects\ProjectUpdaterTests.cs (37)
121config.InteractionServiceFactory = _ => new TestInteractionService { ConfirmCallback = (_, _) => true }; 284config.InteractionServiceFactory = _ => new TestInteractionService { ConfirmCallback = (_, _) => true }; 510config.InteractionServiceFactory = (sp) => 641config.InteractionServiceFactory = (s) => 791config.InteractionServiceFactory = (s) => new TestInteractionService(); 920config.InteractionServiceFactory = (s) => 1063config.InteractionServiceFactory = (s) => 1204config.InteractionServiceFactory = (s) => 1342config.InteractionServiceFactory = (sp) => 1447config.InteractionServiceFactory = (sp) => 1550config.InteractionServiceFactory = (sp) => 1686config.InteractionServiceFactory = (sp) => 1768config.InteractionServiceFactory = (sp) => 1842config.InteractionServiceFactory = (sp) => 1938config.InteractionServiceFactory = (sp) => 2132config.InteractionServiceFactory = (s) => new TestInteractionService(); 2300config.InteractionServiceFactory = (sp) => 2423config.InteractionServiceFactory = (sp) => 2537config.InteractionServiceFactory = (sp) => 2647config.InteractionServiceFactory = (sp) => 2745config.InteractionServiceFactory = (sp) => 2847config.InteractionServiceFactory = (sp) => 2931config.InteractionServiceFactory = (sp) => 3014config.InteractionServiceFactory = (sp) => 3088config.InteractionServiceFactory = (sp) => 3195config.InteractionServiceFactory = (sp) => 3282config.InteractionServiceFactory = (sp) => 3351config.InteractionServiceFactory = (sp) => 3439config.InteractionServiceFactory = (sp) => 3521config.InteractionServiceFactory = (sp) => 3600config.InteractionServiceFactory = (sp) => 3691config.InteractionServiceFactory = (sp) => 3844config.InteractionServiceFactory = (sp) => 4247config.InteractionServiceFactory = (s) => new TestInteractionService(); 4334config.InteractionServiceFactory = (s) => new TestInteractionService(); 4415config.InteractionServiceFactory = (s) => new TestInteractionService(); 4497config.InteractionServiceFactory = (s) => new TestInteractionService();
Utils\CliTestHelper.cs (1)
73testOptions.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)
152services.AddSingleton(options.InteractionServiceFactory);