Class TranslatedStrings
- Namespace
- SunamoLang.SunamoXlf
- Assembly
- SunamoLang.dll
Singleton for translated strings used in content templates and similar scenarios.
public class TranslatedStrings
- Inheritance
-
TranslatedStrings
- Inherited Members
- Extension Methods
Properties
Delete
Gets or sets the translated "Delete" string.
public string Delete { get; set; }
Property Value
Get
Gets or sets the function to retrieve a translated string by property name.
public Func<string, string>? Get { get; set; }
Property Value
Instance
Gets the singleton instance of TranslatedStrings.
public static TranslatedStrings Instance { get; }
Property Value
SetAsDefault
Gets or sets the translated "Set as Default" string.
public string SetAsDefault { get; set; }
Property Value
Methods
FillIfIsEmpty(string)
Fills the property if it is empty.
public void FillIfIsEmpty(string propertyName)
Parameters
propertyNamestringThe property name to fill.