LanguageGeneratorManager.ResourceExplorerResolver Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Devolve o resolvedor para resolver o ID de importação LG para texto modelo com base na língua e num delegado template resource loader.
public static Microsoft.Bot.Builder.LanguageGeneration.ImportResolverDelegate ResourceExplorerResolver(string locale, System.Collections.Generic.Dictionary<string,System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> resourceMapping);
static member ResourceExplorerResolver : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> -> Microsoft.Bot.Builder.LanguageGeneration.ImportResolverDelegate
Public Shared Function ResourceExplorerResolver (locale As String, resourceMapping As Dictionary(Of String, IList(Of Resource))) As ImportResolverDelegate
Parâmetros
- locale
- String
Local para identificar a língua.
- resourceMapping
- Dictionary<String,IList<Resource>>
Delegar o carregador de recursos de templates.
Devoluções
O delegado para resolver o recurso.