4 references to CaptureAsync
Aspire.Hosting (2)
Pipelines\DefaultPipelineOutputSnapshotter.cs (1)
64
return new(directory, await _snapshotter.
CaptureAsync
(directory, _matcher, git, ct).ConfigureAwait(false));
Pipelines\PipelineOutputSnapshotter.cs (1)
37
return await
CaptureAsync
(directory, matcher, git: null, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
Pipelines\PipelineOutputStrategyTests.cs (2)
551
var snapshot = await snapshotter.
CaptureAsync
(workspace.Path, PipelineOutputGitTestHelper.AllFilesMatcher(), git, TestContext.Current.CancellationToken);
558
var failure = await Assert.ThrowsAsync<DistributedApplicationException>(() => snapshotter.
CaptureAsync
(