Class TlumachFluidOptions
The options of the Fluid integration, set up by AddTlumach(TemplateOptions, TranslationManager, TlumachFluidOptions?).
public sealed class TlumachFluidOptions : TemplateTranslationOptions
- Inheritance
-
TlumachFluidOptions
- Inherited Members
Properties
FilterName
Gets or sets the name of the filter that returns a translation as text. The default is "t".
public string FilterName { get; set; }
Property Value
HtmlEncoder
Gets or sets the encoder for the values in the filter named by MarkupFilterName. Use the encoder that the templates are rendered with.
The default, Default, encodes all characters outside Basic Latin; use HtmlEncoder.Create(UnicodeRanges.All) to keep them.
public HtmlEncoder HtmlEncoder { get; set; }
Property Value
MarkupFilterName
Gets or sets the name of the filter that returns a translation, which contains trusted HTML, with HTML-encoded values. The default is "t_html".
null or an empty string means the filter is not registered.
public string? MarkupFilterName { get; set; }