1 instantiation of ProfileCaptureService
Aspire.Cli.Tests (1)
ProfileCaptureServiceTests.cs (1)
501return new ProfileCaptureService(
21 references to ProfileCaptureService
aspire (4)
Profiling\ProfileCaptureService.cs (1)
33ILogger<ProfileCaptureService> logger)
Program.cs (3)
508builder.Services.AddSingleton<ProfileCaptureService>(); 1128ProfileCaptureService.ProfileCaptureSession? profileCaptureSession = null; 1145profileCaptureSession = await app.Services.GetRequiredService<ProfileCaptureService>().StartAsync(profileCaptureOptions, cancellationManager.Token).ConfigureAwait(false);
Aspire.Cli.Tests (17)
ProfileCaptureOptionsTests.cs (2)
122var resolvedPath = ProfileCaptureService.ResolveRepoLocalManagedPath(repoRoot: null); 143var resolvedPath = ProfileCaptureService.ResolveRepoLocalManagedPath(workspace.WorkspaceRoot.FullName);
ProfileCaptureServiceTests.cs (14)
47var service = CreateService( 101var service = CreateService( 118var service = CreateService( 141var service = CreateService( 172var service = CreateService( 194var service = CreateService( 446var environmentVariables = ProfileCaptureService.CreateDashboardEnvironment(); 466var resolvedPath = ProfileCaptureService.ResolveManagedPathOverride( 478var resolvedPath = ProfileCaptureService.ResolveManagedPathOverride( 492private static ProfileCaptureService CreateService( 509NullLogger<ProfileCaptureService>.Instance); 520private static ProfileCaptureService.ProfileCaptureSession CreateSession( 536return new ProfileCaptureService.ProfileCaptureSession( 542NullLogger<ProfileCaptureService>.Instance,
Utils\CliTestHelper.cs (1)
226services.AddSingleton<ProfileCaptureService>();