TemplateImport class
Here is a data model that can help users understand and use the LG import definition in LG files easily.
Constructors
Template |
Creates a new instance of the TemplateImport class. |
Properties
alias | Alias for templates. For example: import as myAlias. |
description | Description of the import, what's included by '[]' in a lg file. |
id | Id of this import. |
source |
origin root source of the import. |
Methods
to |
Constructor Details
TemplateImport(string, string, SourceRange, string)
Creates a new instance of the TemplateImport class.
new TemplateImport(description: string, id: string, sourceRange: SourceRange, alias?: string)
Parameters
- description
-
string
Import description, which is in [].
- id
-
string
Import id, which is a path, in ().
- sourceRange
- SourceRange
(xref:botbuilder-lg.SourceRange) of template.
- alias
-
string
Imports alias.
Property Details
alias
description
Description of the import, what's included by '[]' in a lg file.
description: string
Property Value
string
id
Id of this import.
id: string
Property Value
string
sourceRange
Method Details
toString()
function toString(): string
Returns
string