TemplateEngineLanguageGenerator Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
TemplateEngineLanguageGenerator() |
Inicializa uma nova instância da classe TemplateEngineLanguageGenerator. |
TemplateEngineLanguageGenerator(Templates) |
Inicializa uma nova instância da classe TemplateEngineLanguageGenerator. |
TemplateEngineLanguageGenerator(Resource, Dictionary<String,IList<Resource>>) |
Inicializa uma nova instância da classe TemplateEngineLanguageGenerator. |
TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>) |
Obsoleto.
Inicializa uma nova instância da classe TemplateEngineLanguageGenerator. |
TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>) |
Obsoleto.
Inicializa uma nova instância da classe TemplateEngineLanguageGenerator. |
TemplateEngineLanguageGenerator()
Inicializa uma nova instância da classe TemplateEngineLanguageGenerator.
public TemplateEngineLanguageGenerator ();
Public Sub New ()
Aplica-se a
TemplateEngineLanguageGenerator(Templates)
Inicializa uma nova instância da 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)
Parâmetros
- engine
- Templates
mecanismo de modelo.
Aplica-se a
TemplateEngineLanguageGenerator(Resource, Dictionary<String,IList<Resource>>)
Inicializa uma nova instância da 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)))
Parâmetros
- resource
- Resource
Resource.
- resourceMapping
- Dictionary<String,IList<Resource>>
template resource loader delegate (locale) ->ImportResolverDelegate.
Aplica-se a
TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>)
Cuidado
This method will soon be deprecated. Use LGResource as the first parameter instead.
Inicializa uma nova instância da 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)))
Parâmetros
- filePath
- String
caminho absoluto do arquivo de modelo lg.
- resourceMapping
- Dictionary<String,IList<Resource>>
template resource loader delegate (locale) ->ImportResolverDelegate.
- Atributos
Aplica-se a
TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>)
Cuidado
This method will soon be deprecated. Use LGResource as the first parameter instead.
Inicializa uma nova instância da 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)))
Parâmetros
- lgText
- String
texto do modelo lg.
- id
- String
rótulo opcional para a origem dos modelos (usado para rotular a fonte de erros de modelo).
- resourceMapping
- Dictionary<String,IList<Resource>>
template resource loader delegate (locale) ->ImportResolverDelegate.
- Atributos