ResourceMultiLanguageGenerator Class
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.
Uses resourceExplorer to mount root lg and all language variants as a multi language generator.
public class ResourceMultiLanguageGenerator : Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.MultiLanguageGeneratorBase
type ResourceMultiLanguageGenerator = class
inherit MultiLanguageGeneratorBase
Public Class ResourceMultiLanguageGenerator
Inherits MultiLanguageGeneratorBase
- Inheritance
Remarks
Given file name like "foo.lg" this will generate a map of foo.{LOCALE}.lg files.
Constructors
ResourceMultiLanguageGenerator(String) |
Initializes a new instance of the ResourceMultiLanguageGenerator class. |
Fields
Kind |
Class identifier. |
Properties
LanguagePolicy |
Gets or sets the language policy. (Inherited from MultiLanguageGeneratorBase) |
ResourceId |
Gets or sets the resource id. |
Methods
GenerateAsync(DialogContext, String, Object, CancellationToken) |
Find a language generator that matches the current context locale. (Inherited from MultiLanguageGeneratorBase) |
TryGetGenerator(DialogContext, String, Lazy<LanguageGenerator>) |
Implementation of lookup by locale. This uses resourceId and ResourceExplorer to lookup. |