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