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 = _ => 991options.PackagingServiceFactory = _ => 1067options.PackagingServiceFactory = _ => 1128options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1177options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("pr-12345"); 1229options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1264options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(PackageChannelNames.Stable); 1300options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1342options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1373options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1405options.PackagingServiceFactory = _ => 1449options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1497options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("stable"); 1551options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1603options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("daily"); 1680options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService("stable"); 1745options.PackagingServiceFactory = _ => 1826options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1884options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(PackageChannelNames.Stable); 1938options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 1979options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2016options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2078options.PackagingServiceFactory = _ => CreateNamedChannelPackagingService(contextChannel); 2129options.PackagingServiceFactory = _ => CreateMultiChannelPackagingService("stable", "staging", "daily"); 2183options.PackagingServiceFactory = _ => 2243options.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 1811options.PackagingServiceFactory = (sp) => 2001options.PackagingServiceFactory = _ => new TestPackagingService 2076options.PackagingServiceFactory = _ => new TestPackagingService 2137options.PackagingServiceFactory = _ => new TestPackagingService 2248options.PackagingServiceFactory = _ => new TestPackagingService 3575options.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)
166services.AddSingleton(options.PackagingServiceFactory);