Partilhar via


LanguageGeneratorManager.ResourceExplorerResolver Método

Definição

Devolve a resolução para resolver o ID de importação LG para o texto do modelo com base no idioma e num delegado do carregador de recursos de modelo.

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

Região para identificar o idioma.

resourceMapping
Dictionary<String,IList<Resource>>

Delegado do carregador de recursos de modelo.

Devoluções

O delegado para resolver o recurso.

Aplica-se a