Table of Contents

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

string

Get

Gets or sets the function to retrieve a translated string by property name.

public Func<string, string>? Get { get; set; }

Property Value

Func<string, string>

Instance

Gets the singleton instance of TranslatedStrings.

public static TranslatedStrings Instance { get; }

Property Value

TranslatedStrings

SetAsDefault

Gets or sets the translated "Set as Default" string.

public string SetAsDefault { get; set; }

Property Value

string

Methods

FillIfIsEmpty(string)

Fills the property if it is empty.

public void FillIfIsEmpty(string propertyName)

Parameters

propertyName string

The property name to fill.