91 writes to PackagingServiceFactory
Aspire.Cli.Tests (91)
Commands\AddCommandTests.cs (18)
420options.PackagingServiceFactory = _ => new TestPackagingService 492options.PackagingServiceFactory = _ => new TestPackagingService 579options.PackagingServiceFactory = _ => new TestPackagingService 674options.PackagingServiceFactory = _ => new TestPackagingService 785options.PackagingServiceFactory = _ => new TestPackagingService 927options.PackagingServiceFactory = _ => new TestPackagingService 2553options.PackagingServiceFactory = _ => new TestPackagingService 2628options.PackagingServiceFactory = _ => new TestPackagingService 3034options.PackagingServiceFactory = _ => new TestPackagingService 3084options.PackagingServiceFactory = _ => new TestPackagingService 3134options.PackagingServiceFactory = _ => new TestPackagingService 3180options.PackagingServiceFactory = _ => new TestPackagingService 3228options.PackagingServiceFactory = _ => new TestPackagingService 3275options.PackagingServiceFactory = _ => new TestPackagingService 3324options.PackagingServiceFactory = _ => new TestPackagingService 3382options.PackagingServiceFactory = _ => new TestPackagingService 3436options.PackagingServiceFactory = _ => new TestPackagingService 3482options.PackagingServiceFactory = _ => new TestPackagingService
Commands\InitCommandTests.cs (26)
39options.PackagingServiceFactory = _ => 993options.PackagingServiceFactory = _ => 1069options.PackagingServiceFactory = _ => 1130options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1179options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("pr-12345"); 1231options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1266options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(PackageChannelNames.Stable); 1302options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1344options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1375options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1407options.PackagingServiceFactory = _ => 1451options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1499options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("stable"); 1553options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1605options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1682options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("stable"); 1747options.PackagingServiceFactory = _ => 1828options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1886options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(PackageChannelNames.Stable); 1940options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1981options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2018options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2080options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2131options.PackagingServiceFactory = _ => CreateMultiChannelPackagingService("stable", "staging", "daily"); 2185options.PackagingServiceFactory = _ => 2245options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel);
Commands\NewCommandChannelResolutionTests.cs (2)
76options.PackagingServiceFactory = _ => 594options.PackagingServiceFactory = _ => BuildPackagingService(workspace, identityChannel, identityChannelVersion, identityChannelVersions, useLocalIdentityPackageDirectory, sourceOverrideVersion);
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
365options.PackagingServiceFactory = _ => BuildPackagingService(identityChannel, registerIdentityChannel); 481options.PackagingServiceFactory = sp => new PackagingService(
Commands\NewCommandTests.cs (11)
345options.PackagingServiceFactory = (sp) => 426options.PackagingServiceFactory = (sp) => 504options.PackagingServiceFactory = (sp) => 1235options.PackagingServiceFactory = _ => new TestPackagingService 1280options.PackagingServiceFactory = _ => new TestPackagingService 1774options.PackagingServiceFactory = (sp) => 1964options.PackagingServiceFactory = _ => new TestPackagingService 2039options.PackagingServiceFactory = _ => new TestPackagingService 2100options.PackagingServiceFactory = _ => new TestPackagingService 2211options.PackagingServiceFactory = _ => new TestPackagingService 3538options.PackagingServiceFactory = _ =>
Commands\UpdateCommandRepositoryToolsTests.cs (4)
147options.PackagingServiceFactory = _ => new TestPackagingService 263options.PackagingServiceFactory = _ => new TestPackagingService 477options.PackagingServiceFactory = _ => new TestPackagingService 554options.PackagingServiceFactory = _ => new TestPackagingService
Commands\UpdateCommandTests.cs (28)
119options.PackagingServiceFactory = _ => new TestPackagingService(); 167options.PackagingServiceFactory = _ => new TestPackagingService(); 336options.PackagingServiceFactory = _ => new TestPackagingService() 417options.PackagingServiceFactory = _ => new TestPackagingService 476options.PackagingServiceFactory = _ => new TestPackagingService 531options.PackagingServiceFactory = _ => new TestPackagingService 583options.PackagingServiceFactory = _ => new TestPackagingService() 662options.PackagingServiceFactory = _ => new TestPackagingService() 739options.PackagingServiceFactory = _ => new TestPackagingService() 811options.PackagingServiceFactory = _ => new TestPackagingService(); 854options.PackagingServiceFactory = _ => new TestPackagingService(); 905options.PackagingServiceFactory = _ => new TestPackagingService() 983options.PackagingServiceFactory = _ => new TestPackagingService() 1141options.PackagingServiceFactory = _ => new TestPackagingService() 1315options.PackagingServiceFactory = _ => new TestPackagingService 1354options.PackagingServiceFactory = _ => new TestPackagingService 1694options.PackagingServiceFactory = _ => new TestPackagingService() 1759options.PackagingServiceFactory = _ => new TestPackagingService() 1813options.PackagingServiceFactory = _ => new TestPackagingService() 1881options.PackagingServiceFactory = _ => new TestPackagingService() 1942options.PackagingServiceFactory = _ => new TestPackagingService() 2003options.PackagingServiceFactory = _ => new TestPackagingService() 2156options.PackagingServiceFactory = _ => new TestPackagingService() 2211options.PackagingServiceFactory = _ => new TestPackagingService 2444options.PackagingServiceFactory = _ => new TestPackagingService() 2529options.PackagingServiceFactory = _ => new TestPackagingService(); 2857options.PackagingServiceFactory = _ => new TestPackagingService() 3150options.PackagingServiceFactory = _ => new TestPackagingService()
1 reference to PackagingServiceFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
161services.AddSingleton(options.PackagingServiceFactory);