2 instantiations of ProfileCaptureSession
aspire (1)
Profiling\ProfileCaptureService.cs (1)
127var session = new ProfileCaptureSession(
Aspire.Cli.Tests (1)
ProfileCaptureServiceTests.cs (1)
599return new ProfileCaptureService.ProfileCaptureSession(
18 references to ProfileCaptureSession
aspire (4)
Profiling\ProfileCaptureService.cs (3)
50public async Task<ProfileCaptureSession> StartAsync(ProfileCaptureOptions options, CancellationToken cancellationToken) 53internal async Task<ProfileCaptureSession> StartAsync( 127var session = new ProfileCaptureSession(
Program.cs (1)
1168ProfileCaptureService.ProfileCaptureSession? profileCaptureSession = null;
Aspire.Cli.Tests (14)
ProfileCaptureServiceTests.cs (14)
53await using var session = await service.StartAsync(options, s_testTimeout, s_testPollInterval, CancellationToken.None); 102await using var session = await service.StartAsync(CreateOptions(workspace), s_testTimeout, s_testPollInterval, CancellationToken.None); 171await using var session = await service.StartAsync(CreateOptions(workspace), s_testTimeout, s_testPollInterval, CancellationToken.None); 295await using var session = CreateSession(options, handler, timeProvider: new FakeTimeProvider()); 307await using var session = CreateSession( 323await using var session = CreateSession( 358var session = CreateSession( 390await using var session = CreateSession( 427await using var session = CreateSession( 453await using var session = CreateSession(options, handler, timeProvider: timeProvider); 469await using var session = CreateSession(options, handler, timeProvider: timeProvider); 486await using var session = CreateSession(CreateOptions(workspace), handler); 502await using var session = CreateSession(CreateOptions(workspace), handler); 583private static ProfileCaptureService.ProfileCaptureSession CreateSession(