Udostępnij przez


LanguageGeneratorManager.ResourceExplorerResolver Metoda

Definicja

Zwraca narzędzie rozpoznawania identyfikatora importu LG do tekstu szablonu na podstawie języka i delegata modułu ładującego zasób szablonu.

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

Parametry

locale
String

Ustawienia regionalne do identyfikowania języka.

resourceMapping
Dictionary<String,IList<Resource>>

Delegat modułu ładującego zasób szablonu.

Zwraca

Pełnomocnik do rozpoznania zasobu.

Dotyczy