1 instantiation of ProfileCaptureService
Aspire.Cli.Tests (1)
ProfileCaptureServiceTests.cs (1)
564return new ProfileCaptureService(
23 references to ProfileCaptureService
aspire (4)
Profiling\ProfileCaptureService.cs (1)
32ILogger<ProfileCaptureService> logger)
Program.cs (3)
541builder.Services.AddSingleton<ProfileCaptureService>(); 1168ProfileCaptureService.ProfileCaptureSession? profileCaptureSession = null; 1185profileCaptureSession = await app.Services.GetRequiredService<ProfileCaptureService>().StartAsync(profileCaptureOptions, cancellationManager.Token).ConfigureAwait(false);
Aspire.Cli.Tests (19)
ProfileCaptureOptionsTests.cs (2)
122var resolvedPath = ProfileCaptureService.ResolveRepoLocalDashboardPath(repoRoot: null); 143var resolvedPath = ProfileCaptureService.ResolveRepoLocalDashboardPath(workspace.WorkspaceRoot.FullName);
ProfileCaptureServiceTests.cs (16)
47var service = CreateService( 96var service = CreateService( 131var service = CreateService( 164var service = CreateService( 182var service = CreateService( 205var service = CreateService( 236var service = CreateService( 258var service = CreateService( 510var environmentVariables = ProfileCaptureService.CreateDashboardEnvironment(); 531var resolvedPath = ProfileCaptureService.ResolveDashboardPathOverride( 543var resolvedPath = ProfileCaptureService.ResolveDashboardPathOverride( 555private static ProfileCaptureService CreateService( 572NullLogger<ProfileCaptureService>.Instance); 583private static ProfileCaptureService.ProfileCaptureSession CreateSession( 599return new ProfileCaptureService.ProfileCaptureSession( 605NullLogger<ProfileCaptureService>.Instance,
Utils\CliTestHelper.cs (1)
232services.AddSingleton<ProfileCaptureService>();