2 instantiations of ProfileCaptureSession
aspire (1)
Profiling\ProfileCaptureService.cs (1)
123var session = new ProfileCaptureSession(
Aspire.Cli.Tests (1)
ProfileCaptureServiceTests.cs (1)
536return new ProfileCaptureService.ProfileCaptureSession(
17 references to ProfileCaptureSession
aspire (4)
Profiling\ProfileCaptureService.cs (3)
51public async Task<ProfileCaptureSession> StartAsync(ProfileCaptureOptions options, CancellationToken cancellationToken) 54internal async Task<ProfileCaptureSession> StartAsync( 123var session = new ProfileCaptureSession(
Program.cs (1)
1128ProfileCaptureService.ProfileCaptureSession? profileCaptureSession = null;
Aspire.Cli.Tests (13)
ProfileCaptureServiceTests.cs (13)
53await using var session = await service.StartAsync(options, s_testTimeout, s_testPollInterval, CancellationToken.None); 108await using var session = await service.StartAsync(CreateOptions(workspace), s_testTimeout, s_testPollInterval, CancellationToken.None); 231await using var session = CreateSession(options, handler, timeProvider: new FakeTimeProvider()); 243await using var session = CreateSession( 259await using var session = CreateSession( 294var session = CreateSession( 326await using var session = CreateSession( 363await using var session = CreateSession( 389await using var session = CreateSession(options, handler, timeProvider: timeProvider); 405await using var session = CreateSession(options, handler, timeProvider: timeProvider); 422await using var session = CreateSession(CreateOptions(workspace), handler); 438await using var session = CreateSession(CreateOptions(workspace), handler); 520private static ProfileCaptureService.ProfileCaptureSession CreateSession(