TemplateEngineLanguageGenerator Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TemplateEngineLanguageGenerator() |
Initializes a new instance of the TemplateEngineLanguageGenerator class. |
TemplateEngineLanguageGenerator(Templates) |
Initializes a new instance of the TemplateEngineLanguageGenerator class. |
TemplateEngineLanguageGenerator(Resource, Dictionary<String,IList<Resource>>) |
Initializes a new instance of the TemplateEngineLanguageGenerator class. |
TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>) |
Obsolete.
Initializes a new instance of the TemplateEngineLanguageGenerator class. |
TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>) |
Obsolete.
Initializes a new instance of the TemplateEngineLanguageGenerator class. |
TemplateEngineLanguageGenerator()
Initializes a new instance of the TemplateEngineLanguageGenerator class.
public TemplateEngineLanguageGenerator ();
Public Sub New ()
Applies to
TemplateEngineLanguageGenerator(Templates)
Initializes a new instance of the TemplateEngineLanguageGenerator class.
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)
Parameters
- engine
- Templates
template engine.
Applies to
TemplateEngineLanguageGenerator(Resource, Dictionary<String,IList<Resource>>)
Initializes a new instance of the TemplateEngineLanguageGenerator class.
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)))
Parameters
- resource
- Resource
Resource.
- resourceMapping
- Dictionary<String,IList<Resource>>
template resource loader delegate (locale) -> ImportResolverDelegate.
Applies to
TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>)
Caution
This method will soon be deprecated. Use LGResource as the first parameter instead.
Initializes a new instance of the TemplateEngineLanguageGenerator class.
[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)))
Parameters
- filePath
- String
lg template file absolute path.
- resourceMapping
- Dictionary<String,IList<Resource>>
template resource loader delegate (locale) -> ImportResolverDelegate.
- Attributes
Applies to
TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>)
Caution
This method will soon be deprecated. Use LGResource as the first parameter instead.
Initializes a new instance of the TemplateEngineLanguageGenerator class.
[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)))
Parameters
- lgText
- String
lg template text.
- id
- String
optional label for the source of the templates (used for labeling source of template errors).
- resourceMapping
- Dictionary<String,IList<Resource>>
template resource loader delegate (locale) -> ImportResolverDelegate.
- Attributes