2 implementations of IAppHostServerSessionFactory
aspire (1)
Projects\AppHostServerSession.cs (1)
466
internal sealed class AppHostServerSessionFactory :
IAppHostServerSessionFactory
Aspire.Cli.Tests (1)
TestServices\FakeAppHostServerSession.cs (1)
82
internal sealed class FakeAppHostServerSessionFactory :
IAppHostServerSessionFactory
23 references to IAppHostServerSessionFactory
aspire (12)
Commands\Sdk\SdkDumpCommand.cs (2)
37
private readonly
IAppHostServerSessionFactory
_serverSessionFactory;
60
IAppHostServerSessionFactory
serverSessionFactory,
Commands\Sdk\SdkExportCommand.cs (2)
31
private readonly
IAppHostServerSessionFactory
_serverSessionFactory;
48
IAppHostServerSessionFactory
serverSessionFactory,
Commands\Sdk\SdkGenerateCommand.cs (2)
23
private readonly
IAppHostServerSessionFactory
_serverSessionFactory;
44
IAppHostServerSessionFactory
serverSessionFactory,
Program.cs (1)
510
builder.Services.AddSingleton<
IAppHostServerSessionFactory
, AppHostServerSessionFactory>();
Projects\AppHostServerSession.cs (1)
460
/// Default <see cref="
IAppHostServerSessionFactory
"/> that constructs real
Projects\GuestAppHostProject.cs (2)
57
private readonly
IAppHostServerSessionFactory
_serverSessionFactory;
88
IAppHostServerSessionFactory
serverSessionFactory,
Scaffolding\ScaffoldingService.cs (2)
43
private readonly
IAppHostServerSessionFactory
_serverSessionFactory;
53
IAppHostServerSessionFactory
serverSessionFactory,
Aspire.Cli.Tests (11)
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
271
services.AddSingleton<
IAppHostServerSessionFactory
>(
387
services.AddSingleton<
IAppHostServerSessionFactory
>(
Commands\Sdk\SdkExportCommandTests.cs (1)
393
services.AddSingleton<
IAppHostServerSessionFactory
>(new FakeAppHostServerSessionFactory
Projects\GuestAppHostProjectTests.cs (3)
1364
IAppHostServerSessionFactory
sessionFactory = new FakeAppHostServerSessionFactory();
1453
IAppHostServerSessionFactory
sessionFactory = new FakeAppHostServerSessionFactory();
1526
IAppHostServerSessionFactory
? serverSessionFactory = null,
TestServices\FakeAppHostServerSession.cs (1)
79
/// 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)
186
services.AddSingleton<
IAppHostServerSessionFactory
, AppHostServerSessionFactory>();
546
var
serverSessionFactory = serviceProvider.GetRequiredService<
IAppHostServerSessionFactory
>();