Table of Contents

Class PlaceholderResult

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

What a placeholder substitution did.

public sealed class PlaceholderResult
Inheritance
PlaceholderResult
Inherited Members

Properties

ReplacedCount

Gets the number of placeholders that were substituted. Counts occurrences, not distinct names, and excludes placeholders left in place by Leave.

ResolvedNames

Gets the distinct names that were found and had a value, ordered.

UnresolvedNames

Gets the distinct names the document asked for and the data had no key for, ordered. A non-empty list is almost always a template typo or a missing field, which is why it is reported separately rather than folded into a count.