Table of Contents

Class TlumachModelBindingOptions

Namespace
Tlumach.AspNetCore.Mvc
Assembly
Tlumach.AspNetCore.Mvc.dll
public sealed class TlumachModelBindingOptions
Inheritance
TlumachModelBindingOptions
Inherited Members

Properties

KeyPrefix

Gets or sets the text prepended to the name of a message to form its key, e.g. "ModelBinding." for "ModelBinding.AttemptedValueIsInvalid". The default is "ModelBinding.".

public string KeyPrefix { get; set; }

Property Value

string

TranslationManager

Gets or sets the translation manager of the messages. When null, the manager of the default options of AddTlumachLocalization is used.

public TranslationManager? TranslationManager { get; set; }

Property Value

TranslationManager