Lingua

TemplateEngineLanguageGenerator Costruttori

Definizione

Overload

TemplateEngineLanguageGenerator()

Inizializza una nuova istanza della classe TemplateEngineLanguageGenerator.

public TemplateEngineLanguageGenerator();
Public Sub New ()

Si applica a

TemplateEngineLanguageGenerator(Templates)

Inizializza una nuova istanza della classe TemplateEngineLanguageGenerator.

public TemplateEngineLanguageGenerator(Microsoft.Bot.Builder.LanguageGeneration.Templates engine = default);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator : Microsoft.Bot.Builder.LanguageGeneration.Templates -> Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator
Public Sub New (Optional engine As Templates = Nothing)

Parametri

engine
Templates

Motore di template.

Si applica a

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

Inizializza una nuova istanza della classe TemplateEngineLanguageGenerator.

public TemplateEngineLanguageGenerator(Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource resource, System.Collections.Generic.Dictionary<string,System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> resourceMapping);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource * System.Collections.Generic.Dictionary<string, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> -> Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator
Public Sub New (resource As Resource, resourceMapping As Dictionary(Of String, IList(Of Resource)))

Parametri

resource
Resource

Risorsa.

resourceMapping
Dictionary<String,IList<Resource>>

Template resource loader delegate (locale) ->ImportResolverDelegate.

Si applica a

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

Attenzione

This method will soon be deprecated. Use LGResource as the first parameter instead.

Inizializza una nuova istanza della classe TemplateEngineLanguageGenerator.

[System.Obsolete("This method will soon be deprecated. Use LGResource as the first parameter instead.")]
public TemplateEngineLanguageGenerator(string filePath, System.Collections.Generic.Dictionary<string,System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> resourceMapping);
[<System.Obsolete("This method will soon be deprecated. Use LGResource as the first parameter instead.")>]
new Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> -> Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator
Public Sub New (filePath As String, resourceMapping As Dictionary(Of String, IList(Of Resource)))

Parametri

filePath
String

Percorso assoluto del file modello LG.

resourceMapping
Dictionary<String,IList<Resource>>

Template resource loader delegate (locale) ->ImportResolverDelegate.

Attributi

Si applica a

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

Attenzione

This method will soon be deprecated. Use LGResource as the first parameter instead.

Inizializza una nuova istanza della classe TemplateEngineLanguageGenerator.

[System.Obsolete("This method will soon be deprecated. Use LGResource as the first parameter instead.")]
public TemplateEngineLanguageGenerator(string lgText, string id, System.Collections.Generic.Dictionary<string,System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> resourceMapping);
[<System.Obsolete("This method will soon be deprecated. Use LGResource as the first parameter instead.")>]
new Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Declarative.Resources.Resource>> -> Microsoft.Bot.Builder.Dialogs.Adaptive.Generators.TemplateEngineLanguageGenerator
Public Sub New (lgText As String, id As String, resourceMapping As Dictionary(Of String, IList(Of Resource)))

Parametri

lgText
String

Testo modello LG.

id
String

etichetta opzionale per la sorgente dei template (usata per etichettare la fonte degli errori del template).

resourceMapping
Dictionary<String,IList<Resource>>

Template resource loader delegate (locale) ->ImportResolverDelegate.

Attributi

Si applica a