100 writes to PackagingServiceFactory
Aspire.Cli.Tests (100)
Commands\AddCommandTests.cs (21)
430options.PackagingServiceFactory = _ => new TestPackagingService 502options.PackagingServiceFactory = _ => new TestPackagingService 589options.PackagingServiceFactory = _ => new TestPackagingService 684options.PackagingServiceFactory = _ => new TestPackagingService 815options.PackagingServiceFactory = _ => new TestPackagingService 957options.PackagingServiceFactory = _ => new TestPackagingService 1475options.PackagingServiceFactory = _ => new TestPackagingService 2711options.PackagingServiceFactory = _ => new TestPackagingService 2786options.PackagingServiceFactory = _ => new TestPackagingService 3280options.PackagingServiceFactory = _ => new TestPackagingService 3339options.PackagingServiceFactory = _ => new TestPackagingService 3390options.PackagingServiceFactory = _ => new TestPackagingService 3449options.PackagingServiceFactory = _ => new TestPackagingService 3503options.PackagingServiceFactory = _ => new TestPackagingService 3549options.PackagingServiceFactory = _ => new TestPackagingService 3597options.PackagingServiceFactory = _ => new TestPackagingService 3644options.PackagingServiceFactory = _ => new TestPackagingService 3693options.PackagingServiceFactory = _ => new TestPackagingService 3751options.PackagingServiceFactory = _ => new TestPackagingService 3805options.PackagingServiceFactory = _ => new TestPackagingService 3851options.PackagingServiceFactory = _ => new TestPackagingService
Commands\ConfigSourceCommandTests.cs (4)
263options.PackagingServiceFactory = _ => new TestPackagingService 635options.PackagingServiceFactory = _ => new TestPackagingService(); 716options.PackagingServiceFactory = _ => new TestPackagingService(); 748options.PackagingServiceFactory = _ => new TestPackagingService();
Commands\InitCommandTests.cs (27)
50options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 88options.PackagingServiceFactory = _ => 1083options.PackagingServiceFactory = _ => 1159options.PackagingServiceFactory = _ => 1220options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1269options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("pr-12345"); 1321options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1356options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(PackageChannelNames.Stable); 1392options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1434options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1465options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1497options.PackagingServiceFactory = _ => 1541options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1589options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("stable"); 1643options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1695options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1773options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("stable"); 1838options.PackagingServiceFactory = _ => 1919options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1977options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(PackageChannelNames.Stable); 2031options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2072options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2109options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2171options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2222options.PackagingServiceFactory = _ => CreateMultiChannelPackagingService("stable", "staging", "daily"); 2271options.PackagingServiceFactory = _ => 2331options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel);
Commands\NewCommandChannelResolutionTests.cs (2)
77options.PackagingServiceFactory = _ => 595options.PackagingServiceFactory = _ => BuildPackagingService(workspace, identityChannel, identityChannelVersion, identityChannelVersions, useLocalIdentityPackageDirectory, sourceOverrideVersion);
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
412options.PackagingServiceFactory = _ => BuildPackagingService(identityChannel, registerIdentityChannel); 527options.PackagingServiceFactory = sp => new PackagingService(
Commands\NewCommandTests.cs (11)
379options.PackagingServiceFactory = (sp) => 460options.PackagingServiceFactory = (sp) => 538options.PackagingServiceFactory = (sp) => 1266options.PackagingServiceFactory = _ => new TestPackagingService 1311options.PackagingServiceFactory = _ => new TestPackagingService 1843options.PackagingServiceFactory = (sp) => 2033options.PackagingServiceFactory = _ => new TestPackagingService 2108options.PackagingServiceFactory = _ => new TestPackagingService 2169options.PackagingServiceFactory = _ => new TestPackagingService 2287options.PackagingServiceFactory = _ => new TestPackagingService 3638options.PackagingServiceFactory = _ =>
Commands\UpdateCommandRepositoryToolsTests.cs (4)
147options.PackagingServiceFactory = _ => new TestPackagingService 263options.PackagingServiceFactory = _ => new TestPackagingService 489options.PackagingServiceFactory = _ => new TestPackagingService 584options.PackagingServiceFactory = _ => new TestPackagingService
Commands\UpdateCommandTests.cs (29)
119options.PackagingServiceFactory = _ => new TestPackagingService(); 167options.PackagingServiceFactory = _ => new TestPackagingService(); 336options.PackagingServiceFactory = _ => new TestPackagingService() 396options.PackagingServiceFactory = _ => new TestPackagingService 469options.PackagingServiceFactory = _ => new TestPackagingService 528options.PackagingServiceFactory = _ => new TestPackagingService 583options.PackagingServiceFactory = _ => new TestPackagingService 635options.PackagingServiceFactory = _ => new TestPackagingService() 714options.PackagingServiceFactory = _ => new TestPackagingService() 791options.PackagingServiceFactory = _ => new TestPackagingService() 863options.PackagingServiceFactory = _ => new TestPackagingService(); 906options.PackagingServiceFactory = _ => new TestPackagingService(); 957options.PackagingServiceFactory = _ => new TestPackagingService() 1035options.PackagingServiceFactory = _ => new TestPackagingService() 1193options.PackagingServiceFactory = _ => new TestPackagingService() 1368options.PackagingServiceFactory = _ => new TestPackagingService 1407options.PackagingServiceFactory = _ => new TestPackagingService 1747options.PackagingServiceFactory = _ => new TestPackagingService() 1812options.PackagingServiceFactory = _ => new TestPackagingService() 1866options.PackagingServiceFactory = _ => new TestPackagingService() 1934options.PackagingServiceFactory = _ => new TestPackagingService() 1999options.PackagingServiceFactory = _ => new TestPackagingService() 2060options.PackagingServiceFactory = _ => new TestPackagingService() 2217options.PackagingServiceFactory = _ => new TestPackagingService() 2272options.PackagingServiceFactory = _ => new TestPackagingService 2510options.PackagingServiceFactory = _ => new TestPackagingService() 2595options.PackagingServiceFactory = _ => new TestPackagingService(); 3035options.PackagingServiceFactory = _ => new TestPackagingService() 3332options.PackagingServiceFactory = _ => new TestPackagingService()
1 reference to PackagingServiceFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
177services.AddSingleton(options.PackagingServiceFactory);