2 implementations of IPipelineOutputFileHasher
Aspire.Hosting.TestUtilities (2)
Utils\ByteOutputFileHasher.cs (1)
11public sealed class ByteOutputFileHasher : IPipelineOutputFileHasher
Utils\TestPipelineOutputFileHasher.cs (1)
8public sealed class TestPipelineOutputFileHasher(Func<FileSystemInfo, CancellationToken, ValueTask<ReadOnlyMemory<byte>>> hash) : IPipelineOutputFileHasher
7 references to IPipelineOutputFileHasher
Aspire.Hosting (2)
Pipelines\PipelineOutputSnapshotter.cs (2)
15private readonly IPipelineOutputFileHasher? _hasher; 20public PipelineOutputSnapshotter(IPipelineOutputFileHasher? hasher = null)
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFOutputDiffingTests.cs (1)
91builder.Services.AddSingleton<IPipelineOutputFileHasher>(new TestPipelineOutputFileHasher(async (file, ct) =>
Aspire.Hosting.Tests (4)
Pipelines\PipelineOutputDiffingTests.cs (3)
116builder.Services.AddSingleton<IPipelineOutputFileHasher>(hasher); 190builder.Services.AddSingleton<IPipelineOutputFileHasher, ByteOutputFileHasher>(); 196var hasher = Assert.IsType<ByteOutputFileHasher>(app.Services.GetRequiredService<IPipelineOutputFileHasher>());
Pipelines\PipelineOutputStrategyTests.cs (1)
658builder.Services.AddSingleton<IPipelineOutputFileHasher>(hasher);