4 implementations of IBundleService
aspire (1)
Bundles\BundleService.cs (1)
26
WingetFirstRunProbe? wingetFirstRunProbe = null) :
IBundleService
Aspire.Cli.Tests (3)
Utils\CliTestHelper.cs (3)
808
internal sealed class NullBundleService :
IBundleService
826
internal sealed class RecordingBundleService(string dcpDirectory) :
IBundleService
868
internal sealed class TestBundleService(bool isBundle) :
IBundleService
26 references to IBundleService
aspire (20)
Commands\DashboardRunCommand.cs (2)
33
private readonly
IBundleService
_bundleService;
79
IBundleService
bundleService,
Commands\DcpWorkloadCleanupService.cs (1)
13
IBundleService
bundleService,
Commands\NewCommand.cs (2)
35
private readonly
IBundleService
_bundleService;
86
IBundleService
bundleService,
Commands\RootCommand.cs (1)
231
IBundleService
bundleService,
Commands\SetupCommand.cs (3)
17
private readonly
IBundleService
_bundleService;
30
IBundleService
bundleService,
99
/// none. Route-independent counterpart to the route-aware <see cref="
IBundleService
.GetDefaultExtractDir"/>.
Commands\TrayLifecycleService.cs (1)
20
IBundleService
bundleService,
Processes\DcpExecutableResolver.cs (1)
20
IBundleService
bundleService,
Processes\ProcessTreeGracefulShutdownService.cs (1)
20
IBundleService
bundleService,
Profiling\ProfileCaptureService.cs (1)
25
IBundleService
bundleService,
Program.cs (2)
532
if (sp.GetRequiredService<
IBundleService
>().IsBundle)
558
builder.Services.AddSingleton<
IBundleService
, BundleService>();
Projects\AppHostServerProject.cs (1)
33
IBundleService
bundleService,
Projects\DotNetAppHostProject.cs (2)
47
private readonly
IBundleService
_bundleService;
87
IBundleService
bundleService,
Projects\NativeAppHostServerProject.cs (1)
46
internal static async Task<NativeAppHostServerProject> CreateAsync(string appPath,
IBundleService
bundleService,
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
18
IBundleService
bundleService,
Aspire.Cli.Tests (6)
Commands\NewCommandLocalTemplateTests.cs (2)
664
services.AddSingleton<
IBundleService
>(bundleService);
1397
services.AddSingleton<
IBundleService
>(new TestBundleService(isBundle: true)
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
395
IBundleService
? bundleService = null,
ProfileCaptureServiceTests.cs (1)
560
IBundleService
? bundleService = null,
Projects\NativeAppHostServerProjectTests.cs (1)
523
private static AppHostServerProjectFactory CreateFactory(TestEnvironment environment,
IBundleService
bundle,
Utils\CliTestHelper.cs (1)
730
public Func<IServiceProvider,
IBundleService
> BundleServiceFactory { get; set; } = _ => new NullBundleService();