Lingua

LanguageGeneratorManager.ResourceExplorerResolver Metodo

Definizione

Restituisce il resolver l'ID di importazione LG in testo modello basato sulla lingua e su un delegato 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

Parametri

locale
String

Luogo per identificare la lingua.

resourceMapping
Dictionary<String,IList<Resource>>

Delegato template resource loader.

Valori restituiti

Il delegato per risolvere la risorsa.

Si applica a