Skip to main content

MultiLanguage Constructors

An object defining constructors for the MultiLanguage class.

MultiLanguage(words)​

Initializes a new instance of the MultiLanguage class from a dictionary.

Parameters:​

words (required): Dictionary<string, string>
A dictionary of culture-word pairs.


MultiLanguage(dictionaryJson)​

Initializes a new instance of the MultiLanguage class from a JSON string.

Parameters:​

dictionaryJson (required): string
A JSON string representing a dictionary of culture-word pairs.


MultiLanguage()​

Initializes a new instance of the MultiLanguage class with an empty dictionary.