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