13 references to CaptureAllResources
aspire (3)
Backchannel\ResourceSnapshotWatcher.cs (1)
229
/// Callers should first capture the initial state with <see cref="
CaptureAllResources
"/>.
Backchannel\TrayResourceHealthSubscription.cs (1)
43
var initial = watcher.
CaptureAllResources
();
Commands\DescribeCommand.cs (1)
314
var initialCapture = resourceWatcher.
CaptureAllResources
();
Aspire.Cli.Tests (10)
Backchannel\ResourceSnapshotWatcherTests.cs (10)
227
var snapshot = Assert.Single(watcher.
CaptureAllResources
().Resources);
272
var snapshot = Assert.Single(watcher.
CaptureAllResources
().Resources);
319
var snapshot = Assert.Single(watcher.
CaptureAllResources
().Resources);
373
var initialCapture = watcher.
CaptureAllResources
();
382
var staleCapture = watcher.
CaptureAllResources
();
397
var currentSnapshot = Assert.Single(watcher.
CaptureAllResources
().Resources);
502
var initialCapture = watcher.
CaptureAllResources
();
549
var initialCapture = watcher.
CaptureAllResources
();
623
Assert.Equal([firstSnapshot], watcher.
CaptureAllResources
().Resources);
634
var finalCapture = watcher.
CaptureAllResources
();