Class StructureMatch
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
The result of MatchStructure(string): whether the structure tree matches the template and, if not, the closest part of the tree and the first template line it doesn't match.
public sealed record StructureMatch : IEquatable<StructureMatch>
- Inheritance
-
StructureMatch
- Implements
- Inherited Members
Properties
IsMatch
Whether every top-level line of the template matched somewhere in the structure tree.
public required bool IsMatch { get; init; }
Property Value
Message
Why the template didn't match, for a test's failure message; null when it matched.
public required string? Message { get; init; }