2 implementations of IAppHostServerSessionFactory
aspire (1)
Projects\AppHostServerSession.cs (1)
477internal sealed class AppHostServerSessionFactory : IAppHostServerSessionFactory
Aspire.Cli.Tests (1)
TestServices\FakeAppHostServerSession.cs (1)
83internal sealed class FakeAppHostServerSessionFactory : IAppHostServerSessionFactory
25 references to IAppHostServerSessionFactory
aspire (12)
Commands\Sdk\SdkDumpCommand.cs (2)
37private readonly IAppHostServerSessionFactory _serverSessionFactory; 60IAppHostServerSessionFactory serverSessionFactory,
Commands\Sdk\SdkExportCommand.cs (2)
31private readonly IAppHostServerSessionFactory _serverSessionFactory; 48IAppHostServerSessionFactory serverSessionFactory,
Commands\Sdk\SdkGenerateCommand.cs (2)
23private readonly IAppHostServerSessionFactory _serverSessionFactory; 44IAppHostServerSessionFactory serverSessionFactory,
Program.cs (1)
562builder.Services.AddSingleton<IAppHostServerSessionFactory, AppHostServerSessionFactory>();
Projects\AppHostServerSession.cs (1)
471/// Default <see cref="IAppHostServerSessionFactory"/> that constructs real
Projects\GuestAppHostProject.cs (2)
62private readonly IAppHostServerSessionFactory _serverSessionFactory; 96IAppHostServerSessionFactory serverSessionFactory,
Scaffolding\ScaffoldingService.cs (2)
43private readonly IAppHostServerSessionFactory _serverSessionFactory; 55IAppHostServerSessionFactory serverSessionFactory,
Aspire.Cli.Tests (13)
Commands\InitCommandTests.cs (2)
847services.AddSingleton<IAppHostServerSessionFactory>(FakeAppHostServerSessionFactory.CreateForScaffolding( 894services.AddSingleton<IAppHostServerSessionFactory>(
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
300services.AddSingleton<IAppHostServerSessionFactory>( 466services.AddSingleton<IAppHostServerSessionFactory>(
Commands\Sdk\SdkExportCommandTests.cs (1)
418services.AddSingleton<IAppHostServerSessionFactory>(new FakeAppHostServerSessionFactory
Projects\GuestAppHostProjectTests.cs (3)
2400IAppHostServerSessionFactory sessionFactory = new FakeAppHostServerSessionFactory(); 2490IAppHostServerSessionFactory sessionFactory = new FakeAppHostServerSessionFactory(); 2565IAppHostServerSessionFactory? serverSessionFactory = null,
TestServices\FakeAppHostServerSession.cs (1)
80/// Fake <see cref="IAppHostServerSessionFactory"/> that hands back a <see cref="FakeAppHostServerSession"/>
TestServices\FakeSucceedingAppHostServerProject.cs (1)
12/// <see cref="IAppHostServerSessionFactory"/>) that bypasses <see cref="AppHostServerSession"/>,
Utils\CliTestHelper.cs (3)
207services.AddSingleton<IAppHostServerSessionFactory, AppHostServerSessionFactory>(); 581var serverSessionFactory = serviceProvider.GetRequiredService<IAppHostServerSessionFactory>();