Share via


MultiLanguageLG Constructors

Definition

Overloads

MultiLanguageLG(Dictionary<String,Templates>, String)

Initializes a new instance of the MultiLanguageLG class.

MultiLanguageLG(Dictionary<String,String>, String)

Initializes a new instance of the MultiLanguageLG class.

MultiLanguageLG(Dictionary<String,Templates>, String)

Initializes a new instance of the MultiLanguageLG class.

public MultiLanguageLG (System.Collections.Generic.Dictionary<string,Microsoft.Bot.Builder.LanguageGeneration.Templates> templatesPerLocale, string defaultLanguage = "");
new Microsoft.Bot.Builder.LanguageGeneration.MultiLanguageLG : System.Collections.Generic.Dictionary<string, Microsoft.Bot.Builder.LanguageGeneration.Templates> * string -> Microsoft.Bot.Builder.LanguageGeneration.MultiLanguageLG
Public Sub New (templatesPerLocale As Dictionary(Of String, Templates), Optional defaultLanguage As String = "")

Parameters

templatesPerLocale
Dictionary<String,Templates>

Dictionary of LG file templates per locale.

defaultLanguage
String

Default language.

Applies to

MultiLanguageLG(Dictionary<String,String>, String)

Initializes a new instance of the MultiLanguageLG class.

public MultiLanguageLG (System.Collections.Generic.Dictionary<string,string> filePerLocale, string defaultLanguage = "");
new Microsoft.Bot.Builder.LanguageGeneration.MultiLanguageLG : System.Collections.Generic.Dictionary<string, string> * string -> Microsoft.Bot.Builder.LanguageGeneration.MultiLanguageLG
Public Sub New (filePerLocale As Dictionary(Of String, String), Optional defaultLanguage As String = "")

Parameters

filePerLocale
Dictionary<String,String>

Dictionary of locale and LG file.

defaultLanguage
String

Default language.

Applies to