Table of Contents

Enum MissingKeyBehavior

Namespace
Tlumach.Templating
Assembly
Tlumach.dll

Specifies what TemplateTranslator returns for a key that no translation contains.

public enum MissingKeyBehavior

Fields

Empty = 1

An empty string is returned.

ReturnKey = 0

The key itself, with the key prefix, is returned. This makes a missing or misspelled key visible in the rendered text without stopping the rendering.

Throw = 2

A TemplateKeyNotFoundException is thrown.