Share via


TemplateEngineLanguageGenerator Class

Definition

ILanguageGenerator implementation which uses LGFile.

public class TemplateEngineLanguageGenerator : Microsoft.Bot.Builder.Dialogs.Adaptive.LanguageGenerator
type TemplateEngineLanguageGenerator = class
    inherit LanguageGenerator
Public Class TemplateEngineLanguageGenerator
Inherits LanguageGenerator
Inheritance
TemplateEngineLanguageGenerator

Constructors

TemplateEngineLanguageGenerator()

Initializes a new instance of the TemplateEngineLanguageGenerator class.

TemplateEngineLanguageGenerator(Resource, Dictionary<String,IList<Resource>>)

Initializes a new instance of the TemplateEngineLanguageGenerator class.

TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>)
Obsolete.

Initializes a new instance of the TemplateEngineLanguageGenerator class.

TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>)
Obsolete.

Initializes a new instance of the TemplateEngineLanguageGenerator class.

TemplateEngineLanguageGenerator(Templates)

Initializes a new instance of the TemplateEngineLanguageGenerator class.

Fields

Kind

Class identifier.

Properties

Id

Gets or sets id of the source of this template (used for labeling errors).

Methods

GenerateAsync(DialogContext, String, Object, CancellationToken)

Method to generate text from given template and data.

Applies to