Share via


MultiLanguageGeneratorBase Class

Definition

Base class which applies language policy to virtual method of TryGetGenerator.

public abstract class MultiLanguageGeneratorBase : Microsoft.Bot.Builder.Dialogs.Adaptive.LanguageGenerator
type MultiLanguageGeneratorBase = class
    inherit LanguageGenerator
Public MustInherit Class MultiLanguageGeneratorBase
Inherits LanguageGenerator
Inheritance
MultiLanguageGeneratorBase
Derived

Constructors

MultiLanguageGeneratorBase()

Initializes a new instance of the MultiLanguageGeneratorBase class.

Properties

LanguagePolicy

Gets or sets the language policy.

Methods

GenerateAsync(DialogContext, String, Object, CancellationToken)

Find a language generator that matches the current context locale.

TryGetGenerator(DialogContext, String, Lazy<LanguageGenerator>)

Abstract method to get an ILanguageGenerator by locale.

Applies to