Partager via


TemplateEngineLanguageGenerator Constructeurs

Définition

Surcharges

TemplateEngineLanguageGenerator()

Initialise une nouvelle instance de la classe TemplateEngineLanguageGenerator.

TemplateEngineLanguageGenerator(Templates)

Initialise une nouvelle instance de la classe TemplateEngineLanguageGenerator.

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

Initialise une nouvelle instance de la classe TemplateEngineLanguageGenerator.

TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>)
Obsolète.

Initialise une nouvelle instance de la classe TemplateEngineLanguageGenerator.

TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>)
Obsolète.

Initialise une nouvelle instance de la classe TemplateEngineLanguageGenerator.

TemplateEngineLanguageGenerator()

Initialise une nouvelle instance de la classe TemplateEngineLanguageGenerator.

public TemplateEngineLanguageGenerator ();
Public Sub New ()

S’applique à

TemplateEngineLanguageGenerator(Templates)

Initialise une nouvelle instance de la 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)

Paramètres

engine
Templates

moteur de modèle.

S’applique à

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

Initialise une nouvelle instance de la 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)))

Paramètres

resource
Resource

Resource.

resourceMapping
Dictionary<String,IList<Resource>>

template resource loader delegate (paramètres régionaux) ->ImportResolverDelegate.

S’applique à

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

Attention

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

Initialise une nouvelle instance de la 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)))

Paramètres

filePath
String

Chemin absolu du fichier de modèle lg.

resourceMapping
Dictionary<String,IList<Resource>>

template resource loader delegate (paramètres régionaux) ->ImportResolverDelegate.

Attributs

S’applique à

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

Attention

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

Initialise une nouvelle instance de la 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)))

Paramètres

lgText
String

texte du modèle lg.

id
String

étiquette facultative pour la source des modèles (utilisée pour l’étiquetage de la source des erreurs de modèle).

resourceMapping
Dictionary<String,IList<Resource>>

template resource loader delegate (paramètres régionaux) ->ImportResolverDelegate.

Attributs

S’applique à