1 instantiation of RecordingSnapshot
Aspire.Hosting.Tests (1)
Pipelines\PipelineOutputDiffingTests.cs (1)
1164return Task.FromResult(new RecordingSnapshot(this, outputDirectory, Events.Count));
25 references to RecordingSnapshot
Aspire.Hosting.Tests (25)
Pipelines\PipelineOutputDiffingTests.cs (25)
225builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 231builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(); 331builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 332builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(); 652builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 655builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(); 737builder.Services.AddTransient<IPipelineOutputSnapshotter<RecordingSnapshot>>(_ => 745builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(); 779builder.Services.AddTransient<IPipelineOutputSnapshotter<RecordingSnapshot>>(_ => 785builder.Services.AddTransient<IPipelineOutputComparer<RecordingSnapshot>>(_ => 792builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(() => new PipelineStep 798builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(() => new PipelineStep 839builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 840builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(); 870builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 876builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>("custom-target", "custom-check"); 896builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 897builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(); 1012builder.Services.AddSingleton<IPipelineOutputSnapshotter<RecordingSnapshot>>(snapshotter); 1016builder.WithOutputDiffing<RecordingSnapshot, RecordingSnapshotter, RecordingComparer>(diffStepName: "file-check"); 1134private sealed class RecordingSnapshotter(string artifact, bool reportUnchanged = false) : IPipelineOutputSnapshotter<RecordingSnapshot>, IDisposable 1143public Task<RecordingSnapshot> CaptureAsync(string outputDirectory, CancellationToken ct) 1170private sealed class RecordingComparer : IPipelineOutputComparer<RecordingSnapshot>, IDisposable 1174public Task<IReadOnlyList<PipelineOutputChange>> CompareAsync(RecordingSnapshot before, RecordingSnapshot after, CancellationToken ct)