2 implementations of IAppHostServerProjectFactory
aspire (1)
Projects\AppHostServerProject.cs (1)
39
ILoggerFactory loggerFactory) :
IAppHostServerProjectFactory
Aspire.Cli.Tests (1)
TestServices\TestAppHostServerProjectFactory.cs (1)
8
internal sealed class TestAppHostServerProjectFactory :
IAppHostServerProjectFactory
21 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)
561
builder.Services.AddSingleton<
IAppHostServerProjectFactory
, AppHostServerProjectFactory>();
Projects\GuestAppHostProject.cs (2)
46
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
80
IAppHostServerProjectFactory
appHostServerProjectFactory,
Scaffolding\ScaffoldingService.cs (2)
43
private readonly
IAppHostServerProjectFactory
_appHostServerProjectFactory;
55
IAppHostServerProjectFactory
appHostServerProjectFactory,
Aspire.Cli.Tests (10)
Commands\NewCommandTemplateConfigPersistenceTests.cs (2)
294
services.AddSingleton<
IAppHostServerProjectFactory
>(_ => new TestAppHostServerProjectFactory
429
services.AddSingleton<
IAppHostServerProjectFactory
>(_ => new TestAppHostServerProjectFactory
Commands\Sdk\SdkExportCommandTests.cs (1)
417
services.AddSingleton<
IAppHostServerProjectFactory
>(new TestAppHostServerProjectFactory
Commands\SdkDumpCommandTests.cs (1)
272
services.AddSingleton<
IAppHostServerProjectFactory
>(factory);
Commands\UpdateCommandTests.cs (1)
406
services.AddSingleton<
IAppHostServerProjectFactory
>(new TestAppHostServerProjectFactory
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)
208
services.AddSingleton<
IAppHostServerProjectFactory
, AppHostServerProjectFactory>();
581
var
appHostServerProjectFactory = serviceProvider.GetRequiredService<
IAppHostServerProjectFactory
>();