Compartir a través de


TemplateEngineLanguageGenerator Constructores

Definición

Sobrecargas

TemplateEngineLanguageGenerator()

Inicializa una nueva instancia de la clase TemplateEngineLanguageGenerator.

TemplateEngineLanguageGenerator(Templates)

Inicializa una nueva instancia de la clase TemplateEngineLanguageGenerator.

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

Inicializa una nueva instancia de la clase TemplateEngineLanguageGenerator.

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

Inicializa una nueva instancia de la clase TemplateEngineLanguageGenerator.

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

Inicializa una nueva instancia de la clase TemplateEngineLanguageGenerator.

TemplateEngineLanguageGenerator()

Inicializa una nueva instancia de la clase TemplateEngineLanguageGenerator.

public TemplateEngineLanguageGenerator ();
Public Sub New ()

Se aplica a

TemplateEngineLanguageGenerator(Templates)

Inicializa una nueva instancia de la clase 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)

Parámetros

engine
Templates

motor de plantilla.

Se aplica a

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

Inicializa una nueva instancia de la clase 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)))

Parámetros

resource
Resource

Resource.

resourceMapping
Dictionary<String,IList<Resource>>

delegado del cargador de recursos de plantilla (configuración regional) ->ImportResolverDelegate.

Se aplica a

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

Precaución

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

Inicializa una nueva instancia de la clase 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)))

Parámetros

filePath
String

Ruta de acceso absoluta del archivo de plantilla lg.

resourceMapping
Dictionary<String,IList<Resource>>

delegado del cargador de recursos de plantilla (configuración regional) ->ImportResolverDelegate.

Atributos

Se aplica a

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

Precaución

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

Inicializa una nueva instancia de la clase 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)))

Parámetros

lgText
String

texto de la plantilla lg.

id
String

etiqueta opcional para el origen de las plantillas (se usa para etiquetar el origen de errores de plantilla).

resourceMapping
Dictionary<String,IList<Resource>>

delegado del cargador de recursos de plantilla (configuración regional) ->ImportResolverDelegate.

Atributos

Se aplica a