Table of Contents

Interface IFieldHandler

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

Evaluates one or more field kinds. Hosts implement this to add a field DocWright does not know, or to override one it does, without a change to the core.

public interface IFieldHandler

Properties

FieldNames

Gets the instruction names this handler evaluates, uppercase, for example "MERGEFIELD". Matching against an instruction is case-insensitive.

Methods

TryEvaluate(FieldEvaluationContext, out string?)

Evaluates a field.