Table of Contents

Method ContentEquals

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

ContentEquals(CharacterFormat?)

Determines whether another bag specifies exactly the same values. Unknown-XML islands are ignored: two bags that resolve identically compare equal. Used by the style resolver's memoization and by future compare/merge features.

public bool ContentEquals(CharacterFormat? other)

Parameters

other CharacterFormat

The bag to compare with; null compares unequal.

Returns

bool

true if all specified values match.