Jaa


LanguageGeneratorManager.ResourceExplorerResolver Method

Definition

Returns the resolver to resolve LG import id to template text based on language and a template resource loader delegate.

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

Parameters

locale
String

Locale to identify language.

resourceMapping
Dictionary<String,IList<Resource>>

Template resource loader delegate.

Returns

The delegate to resolve the resource.

Applies to