TemplateInfo
public class TemplateInfoDescribes an export template’s identity, inheritance, required data, file operations, parameters, and discovered source paths.
Fields
Section titled “Fields”
public string nameReturns
System.String
description
Section titled “description”public string descriptionReturns
System.String
version
Section titled “version”public int versionReturns
System.Int32
public DateTime dateReturns
System.DateTime
readOnly
Section titled “readOnly”public bool readOnlyReturns
System.Boolean
isSample
Section titled “isSample”public bool isSampleReturns
System.Boolean
fixedTargetFolder
Section titled “fixedTargetFolder”public bool fixedTargetFolderReturns
System.Boolean
entryPath
Section titled “entryPath”public string entryPathReturns
System.String
needsDataPath
Section titled “needsDataPath”public bool needsDataPathReturns
System.Boolean
needsImagePath
Section titled “needsImagePath”public bool needsImagePathReturns
System.Boolean
packageFields
Section titled “packageFields”public string[] packageFieldsReturns
System.String[]
fileFields
Section titled “fileFields”public string[] fileFieldsReturns
System.String[]
inheritFrom
Section titled “inheritFrom”public string inheritFromReturns
System.String
moveFiles
Section titled “moveFiles”public string[] moveFilesReturns
System.String[]
deleteFiles
Section titled “deleteFiles”public string[] deleteFilesReturns
System.String[]
parameters
Section titled “parameters”public string[] parametersReturns
System.String[]
public string pathReturns
System.String
hasDescriptor
Section titled “hasDescriptor”public bool hasDescriptorReturns
System.Boolean
hasFilesData
Section titled “hasFilesData”public bool hasFilesDataReturns
System.Boolean
Methods
Section titled “Methods”
GetNameFromFile()
Section titled “GetNameFromFile()”public string GetNameFromFile()Returns the template display name declared by the descriptor, falling back to its filename when necessary.
Returns
System.String
GetNameFromFile(string)
Section titled “GetNameFromFile(string)”public string GetNameFromFile(string filePath)Returns the template display name declared by the descriptor, falling back to its filename when necessary.
Parameters
| Name | Type |
|---|---|
filePath |
System.String |
Returns
System.String
GetDescriptorPath()
Section titled “GetDescriptorPath()”public string GetDescriptorPath()Returns the full path of the template descriptor associated with this template.
Returns
System.String
Constructors
Section titled “Constructors”
TemplateInfo()
Section titled “TemplateInfo()”public TemplateInfo()