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