2 implementations of IAppHostServerProjectFactory
aspire (1)
Projects\AppHostServerProject.cs (1)
36
ILoggerFactory loggerFactory) :
IAppHostServerProjectFactory
Aspire.Cli.Tests (1)
TestServices\TestAppHostServerProjectFactory.cs (1)
8
internal sealed class TestAppHostServerProjectFactory :
IAppHostServerProjectFactory
20 references to IAppHostServerProjectFactory
aspire (11)
Commands\Sdk\SdkDumpCommand.cs (2)
36
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
59
IAppHostServerProjectFactory
appHostServerProjectFactory,
Commands\Sdk\SdkExportCommand.cs (2)
30
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
47
IAppHostServerProjectFactory
appHostServerProjectFactory,
Commands\Sdk\SdkGenerateCommand.cs (2)
22
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
43
IAppHostServerProjectFactory
appHostServerProjectFactory,
Program.cs (1)
509
builder.Services.AddSingleton<
IAppHostServerProjectFactory
, AppHostServerProjectFactory>();
Projects\GuestAppHostProject.cs (2)
42
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
74
IAppHostServerProjectFactory
appHostServerProjectFactory,
Scaffolding\ScaffoldingService.cs (2)
42
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
52
IAppHostServerProjectFactory
appHostServerProjectFactory,
Aspire.Cli.Tests (9)
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
266
services.AddSingleton<
IAppHostServerProjectFactory
>(_ => new TestAppHostServerProjectFactory
382
services.AddSingleton<
IAppHostServerProjectFactory
>(_ => new TestAppHostServerProjectFactory
Commands\Sdk\SdkExportCommandTests.cs (1)
389
services.AddSingleton<
IAppHostServerProjectFactory
>(new TestAppHostServerProjectFactory
Commands\SdkDumpCommandTests.cs (1)
272
services.AddSingleton<
IAppHostServerProjectFactory
>(factory);
Templating\JavaStarterScaffoldTests.cs (2)
18
/// <see cref="
IAppHostServerProjectFactory
"/> faked so the run stops before it reaches the network,
133
services.AddSingleton<
IAppHostServerProjectFactory
>(_ => new TestAppHostServerProjectFactory
Utils\CliTestHelper.cs (3)
185
services.AddSingleton<
IAppHostServerProjectFactory
, AppHostServerProjectFactory>();
545
var
appHostServerProjectFactory = serviceProvider.GetRequiredService<
IAppHostServerProjectFactory
>();