LanguageGeneratorManager.ResourceExplorerResolver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.