1 instantiation of WatchCleanup
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (1)
1509
private static WatchCleanup StopWatchOnDispose(CancellationTokenSource cts, Task watchTask) =>
new
(cts, watchTask);
9 references to WatchCleanup
Aspire.Dashboard.Tests (9)
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (9)
409
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
528
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
996
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
1088
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
1176
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
1274
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
1372
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
1498
await using
var
watchCleanup = StopWatchOnDispose(cts, watchTask);
1509
private static
WatchCleanup
StopWatchOnDispose(CancellationTokenSource cts, Task watchTask) => new(cts, watchTask);