Dela via


TemplateEngineLanguageGenerator Konstruktorer

Definition

Överlagringar

TemplateEngineLanguageGenerator()

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

TemplateEngineLanguageGenerator(Templates)

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

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

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>)
Föråldrad.

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>)
Föråldrad.

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

TemplateEngineLanguageGenerator()

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

public TemplateEngineLanguageGenerator ();
Public Sub New ()

Gäller för

TemplateEngineLanguageGenerator(Templates)

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

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)

Parametrar

engine
Templates

mallmotor.

Gäller för

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

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

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)))

Parametrar

resource
Resource

Resurs.

resourceMapping
Dictionary<String,IList<Resource>>

template resource loader delegate (locale) ->ImportResolverDelegate.

Gäller för

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

Varning

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

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

[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)))

Parametrar

filePath
String

lg template file absolute path.

resourceMapping
Dictionary<String,IList<Resource>>

template resource loader delegate (locale) ->ImportResolverDelegate.

Attribut

Gäller för

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

Varning

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

Initierar en ny instans av TemplateEngineLanguageGenerator klassen.

[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)))

Parametrar

lgText
String

lg-malltext.

id
String

valfri etikett för mallkällan (används för etikettering av mallfel).

resourceMapping
Dictionary<String,IList<Resource>>

template resource loader delegate (locale) ->ImportResolverDelegate.

Attribut

Gäller för