Table of Contents

Class TlumachFluidOptions

Namespace
Tlumach.Fluid
Assembly
Tlumach.Fluid.dll

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

string

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

HtmlEncoder

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; }

Property Value

string