2 implementations of IAppHostServerProjectFactory
aspire (1)
Projects\AppHostServerProject.cs (1)
39ILoggerFactory loggerFactory) : IAppHostServerProjectFactory
Aspire.Cli.Tests (1)
TestServices\TestAppHostServerProjectFactory.cs (1)
8internal sealed class TestAppHostServerProjectFactory : IAppHostServerProjectFactory
21 references to IAppHostServerProjectFactory
aspire (11)
Commands\Sdk\SdkDumpCommand.cs (2)
36private readonly IAppHostServerProjectFactory _appHostServerProjectFactory; 59IAppHostServerProjectFactory appHostServerProjectFactory,
Commands\Sdk\SdkExportCommand.cs (2)
30private readonly IAppHostServerProjectFactory _appHostServerProjectFactory; 47IAppHostServerProjectFactory appHostServerProjectFactory,
Commands\Sdk\SdkGenerateCommand.cs (2)
22private readonly IAppHostServerProjectFactory _appHostServerProjectFactory; 43IAppHostServerProjectFactory appHostServerProjectFactory,
Program.cs (1)
561builder.Services.AddSingleton<IAppHostServerProjectFactory, AppHostServerProjectFactory>();
Projects\GuestAppHostProject.cs (2)
46private readonly IAppHostServerProjectFactory _appHostServerProjectFactory; 80IAppHostServerProjectFactory appHostServerProjectFactory,
Scaffolding\ScaffoldingService.cs (2)
43private readonly IAppHostServerProjectFactory _appHostServerProjectFactory; 55IAppHostServerProjectFactory appHostServerProjectFactory,
Aspire.Cli.Tests (10)
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
294services.AddSingleton<IAppHostServerProjectFactory>(_ => new TestAppHostServerProjectFactory 429services.AddSingleton<IAppHostServerProjectFactory>(_ => new TestAppHostServerProjectFactory
Commands\Sdk\SdkExportCommandTests.cs (1)
417services.AddSingleton<IAppHostServerProjectFactory>(new TestAppHostServerProjectFactory
Commands\SdkDumpCommandTests.cs (1)
272services.AddSingleton<IAppHostServerProjectFactory>(factory);
Commands\UpdateCommandTests.cs (1)
406services.AddSingleton<IAppHostServerProjectFactory>(new TestAppHostServerProjectFactory
Templating\JavaStarterScaffoldTests.cs (2)
18/// <see cref="IAppHostServerProjectFactory"/> faked so the run stops before it reaches the network, 133services.AddSingleton<IAppHostServerProjectFactory>(_ => new TestAppHostServerProjectFactory
Utils\CliTestHelper.cs (3)
208services.AddSingleton<IAppHostServerProjectFactory, AppHostServerProjectFactory>(); 581var appHostServerProjectFactory = serviceProvider.GetRequiredService<IAppHostServerProjectFactory>();