67 writes to InteractionServiceFactory
Aspire.Cli.Tests (67)
Commands\AddCommandTests.cs (7)
417options.InteractionServiceFactory = (sp) => 458options.InteractionServiceFactory = (sp) => 552options.InteractionServiceFactory = (sp) => 600options.InteractionServiceFactory = (sp) => 648options.InteractionServiceFactory = (sp) => 703options.InteractionServiceFactory = _ => new TestInteractionService() 765options.InteractionServiceFactory = _ => new TestInteractionService()
Commands\BaseCommandTests.cs (1)
27options.InteractionServiceFactory = _ => testInteractionService;
Commands\ConfigCommandTests.cs (1)
29options.InteractionServiceFactory = sp => new TestExtensionInteractionService(sp);
Commands\InitCommandTests.cs (1)
268options.InteractionServiceFactory = (sp) =>
Commands\NewCommandTests.cs (5)
552options.InteractionServiceFactory = (sp) => { 714options.InteractionServiceFactory = (sp) => 856options.InteractionServiceFactory = _ => new TestInteractionService 1031options.InteractionServiceFactory = _ => new TestInteractionService 1208options.InteractionServiceFactory = _ => new TestInteractionService
Commands\RunCommandTests.cs (4)
446options.InteractionServiceFactory = (sp) => new TestInteractionService(); 535options.InteractionServiceFactory = extensionInteractionServiceFactory; 605options.InteractionServiceFactory = extensionInteractionServiceFactory; 674options.InteractionServiceFactory = extensionInteractionServiceFactory;
Commands\SdkInstallerTests.cs (6)
41options.InteractionServiceFactory = _ => new TestInteractionService(); 63options.InteractionServiceFactory = _ => new TestInteractionService(); 88options.InteractionServiceFactory = _ => new TestInteractionService(); 128options.InteractionServiceFactory = _ => new TestInteractionService(); 166options.InteractionServiceFactory = _ => new TestInteractionService(); 189options.InteractionServiceFactory = _ => new TestInteractionService();
Commands\UpdateCommandTests.cs (15)
54options.InteractionServiceFactory = _ => new TestInteractionService(); 184options.InteractionServiceFactory = _ => new TestInteractionService() 227options.InteractionServiceFactory = _ => new TestInteractionService() 300options.InteractionServiceFactory = _ => new TestInteractionService() 365options.InteractionServiceFactory = _ => new TestInteractionService() 412options.InteractionServiceFactory = _ => new TestInteractionService() 508options.InteractionServiceFactory = _ => new TestInteractionService() 575options.InteractionServiceFactory = _ => new TestInteractionService() 641options.InteractionServiceFactory = _ => 699options.InteractionServiceFactory = _ => new TestInteractionService() 777options.InteractionServiceFactory = _ => wrappedService; 822options.InteractionServiceFactory = _ => new TestInteractionService() 890options.InteractionServiceFactory = _ => wrappedService; 917options.InteractionServiceFactory = _ => new TestInteractionService() 962options.InteractionServiceFactory = _ => new TestInteractionService()
DotNet\DotNetCliRunnerTests.cs (1)
519options.InteractionServiceFactory = sp =>
Projects\ProjectUpdaterTests.cs (22)
101config.InteractionServiceFactory = (sp) => 218config.InteractionServiceFactory = (s) => 357config.InteractionServiceFactory = (s) => 510config.InteractionServiceFactory = (s) => 648config.InteractionServiceFactory = (sp) => 753config.InteractionServiceFactory = (sp) => 855config.InteractionServiceFactory = (sp) => 999config.InteractionServiceFactory = (sp) => 1122config.InteractionServiceFactory = (sp) => 1236config.InteractionServiceFactory = (sp) => 1346config.InteractionServiceFactory = (sp) => 1444config.InteractionServiceFactory = (sp) => 1546config.InteractionServiceFactory = (sp) => 1630config.InteractionServiceFactory = (sp) => 1712config.InteractionServiceFactory = (sp) => 1786config.InteractionServiceFactory = (sp) => 1869config.InteractionServiceFactory = (sp) => 1957config.InteractionServiceFactory = (sp) => 2039config.InteractionServiceFactory = (sp) => 2118config.InteractionServiceFactory = (sp) => 2209config.InteractionServiceFactory = (sp) => 2336config.InteractionServiceFactory = (sp) =>
Utils\CliUpdateNotificationServiceTests.cs (4)
44configure.InteractionServiceFactory = (sp) => 99configure.InteractionServiceFactory = (sp) => 154configure.InteractionServiceFactory = (sp) => 205configure.InteractionServiceFactory = (sp) =>
1 reference to InteractionServiceFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
96services.AddSingleton(options.InteractionServiceFactory);