MultiLanguageLG Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.