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