Delen via


Templates Constructor

Definitie

Initialiseert een nieuw exemplaar van de Templates klasse.

public Templates (System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Template> templates = default, System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.TemplateImport> imports = default, System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Diagnostic> diagnostics = default, System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Templates> references = default, string content = default, string id = default, AdaptiveExpressions.ExpressionParser expressionParser = default, Microsoft.Bot.Builder.LanguageGeneration.ImportResolverDelegate importResolver = default, System.Collections.Generic.IList<string> options = default, string source = default, System.Collections.Generic.IDictionary<string,Microsoft.Bot.Builder.LanguageGeneration.Templates> namedReferences = default);
new Microsoft.Bot.Builder.LanguageGeneration.Templates : System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Template> * System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.TemplateImport> * System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Diagnostic> * System.Collections.Generic.IList<Microsoft.Bot.Builder.LanguageGeneration.Templates> * string * string * AdaptiveExpressions.ExpressionParser * Microsoft.Bot.Builder.LanguageGeneration.ImportResolverDelegate * System.Collections.Generic.IList<string> * string * System.Collections.Generic.IDictionary<string, Microsoft.Bot.Builder.LanguageGeneration.Templates> -> Microsoft.Bot.Builder.LanguageGeneration.Templates
Public Sub New (Optional templates As IList(Of Template) = Nothing, Optional imports As IList(Of TemplateImport) = Nothing, Optional diagnostics As IList(Of Diagnostic) = Nothing, Optional references As IList(Of Templates) = Nothing, Optional content As String = Nothing, Optional id As String = Nothing, Optional expressionParser As ExpressionParser = Nothing, Optional importResolver As ImportResolverDelegate = Nothing, Optional options As IList(Of String) = Nothing, Optional source As String = Nothing, Optional namedReferences As IDictionary(Of String, Templates) = Nothing)

Parameters

templates
IList<Template>

Lijst met sjabloonexemplaren.

imports
IList<TemplateImport>

Lijst met sjabloonExemplaren importeren.

diagnostics
IList<Diagnostic>

Lijst met diagnostische exemplaren.

references
IList<Templates>

Lijst met sjablonenexemplaren.

content
String

Inhoud van het huidige sjablonenexemplaar.

id
String

Id van het huidige sjablonenexemplaar.

expressionParser
ExpressionParser

ExpressionParser om de expressies in het vervolg te parseren.

importResolver
ImportResolverDelegate

Resolver voor het oplossen van de LG-import-id naar sjabloontekst.

options
IList<String>

Lijst met tekenreeksen die de opties vertegenwoordigen tijdens het evalueren van de sjablonen.

source
String

Sjablonenbron.

namedReferences
IDictionary<String,Templates>

Verwijzingen die zijn geïmporteerd met de syntaxis 'als', bijvoorbeeld: importeren als myAlias.

Van toepassing op