Table of Contents

Method StructurallyEquals

Namespace
DocWright.Reporting
Assembly
DocWright.Reporting.dll

StructurallyEquals(RdlElement?)

Compares two subtrees by name, attributes, order and text — ignoring the prefixes that happened to be used.

public bool StructurallyEquals(RdlElement? other)

Parameters

other RdlElement

The element to compare with.

Returns

bool

true when the subtrees carry the same information.

Remarks

This is what a round-trip gate asserts. Byte equality is the wrong test for a definition DocWright did not write: indentation, prefix choice and self-closing style are an author's, not the model's. Equality here means no information was lost.