LanguageGeneratorManager.ResourceExplorerResolver Método

Definición

Devuelve el resolver para resolver el id de importación LG a texto plantilla basado en el idioma y un delegado de cargador de recursos plantilla.

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

Lugar para identificar el idioma.

resourceMapping
Dictionary<String,IList<Resource>>

Delegar el cargador de recursos de plantillas.

Devoluciones

El delegado para resolver el recurso.

Se aplica a