1using System.Collections.ObjectModel;
6public sealed class NdsImageDiff
12 internal NdsImageDiff(
string leftImageSha256,
string rightImageSha256, IEnumerable<NdsSemanticDifference> differences)
16 Differences =
new ReadOnlyCollection<NdsSemanticDifference>(differences
17 .OrderBy(
static value => value.Path, StringComparer.Ordinal)
18 .ThenBy(
static value => value.Kind)
27 public IReadOnlyList<NdsSemanticDifference>
Differences {
get; }
bool AreEquivalent
Reports whether header, content, identities, and physical layout all compare equal.
string RightImageSha256
Records the full physical SHA-256 identity of the comparison target.
IReadOnlyList< NdsSemanticDifference > Differences
Contains every detected value change in deterministic path order.
string LeftImageSha256
Records the full physical SHA-256 identity of the comparison baseline.