共用方式為


TemplateEngineLanguageGenerator 建構函式

定義

多載

TemplateEngineLanguageGenerator()

初始化 TemplateEngineLanguageGenerator 類別的新執行個體。

TemplateEngineLanguageGenerator(Templates)

初始化 TemplateEngineLanguageGenerator 類別的新執行個體。

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

初始化 TemplateEngineLanguageGenerator 類別的新執行個體。

TemplateEngineLanguageGenerator(String, Dictionary<String,IList<Resource>>)
已淘汰.

初始化 TemplateEngineLanguageGenerator 類別的新執行個體。

TemplateEngineLanguageGenerator(String, String, Dictionary<String,IList<Resource>>)
已淘汰.

初始化 TemplateEngineLanguageGenerator 類別的新執行個體。

TemplateEngineLanguageGenerator()

初始化 TemplateEngineLanguageGenerator 類別的新執行個體。

public TemplateEngineLanguageGenerator ();
Public Sub New ()

適用於

TemplateEngineLanguageGenerator(Templates)

初始化 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)

參數

engine
Templates

範本引擎。

適用於

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

初始化 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)))

參數

resource
Resource

資源。

resourceMapping
Dictionary<String,IList<Resource>>

範本資源載入器委派 (地區設定) - >ImportResolverDelegate

適用於

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

警告

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

初始化 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)))

參數

filePath
String

lg 範本檔案絕對路徑。

resourceMapping
Dictionary<String,IList<Resource>>

範本資源載入器委派 (地區設定) - >ImportResolverDelegate

屬性

適用於

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

警告

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

初始化 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)))

參數

lgText
String

lg 範本文字。

id
String

範本來源的選擇性標籤, (用於標記範本錯誤來源) 。

resourceMapping
Dictionary<String,IList<Resource>>

範本資源載入器委派 (地區設定) - >ImportResolverDelegate

屬性

適用於