Enum MissingKeyBehavior
- Namespace
- Tlumach.Templating
- Assembly
- Tlumach.dll
Specifies what TemplateTranslator returns for a key that no translation contains.
public enum MissingKeyBehavior
Fields
Empty = 1An empty string is returned.
ReturnKey = 0The 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 = 2A TemplateKeyNotFoundException is thrown.