Skip to content

TemplateInfo

ClassAssetInventoryAssetInventory.Editor
public class TemplateInfo

Describes an export template’s identity, inheritance, required data, file operations, parameters, and discovered source paths.

public string name

Returns

System.String

public string description

Returns

System.String

public int version

Returns

System.Int32

public DateTime date

Returns

System.DateTime

public bool readOnly

Returns

System.Boolean

public bool isSample

Returns

System.Boolean

public bool fixedTargetFolder

Returns

System.Boolean

public string entryPath

Returns

System.String

public bool needsDataPath

Returns

System.Boolean

public bool needsImagePath

Returns

System.Boolean

public string[] packageFields

Returns

System.String[]

public string[] fileFields

Returns

System.String[]

public string inheritFrom

Returns

System.String

public string[] moveFiles

Returns

System.String[]

public string[] deleteFiles

Returns

System.String[]

public string[] parameters

Returns

System.String[]

public string path

Returns

System.String

public bool hasDescriptor

Returns

System.Boolean

public bool hasFilesData

Returns

System.Boolean

public string GetNameFromFile()

Returns the template display name declared by the descriptor, falling back to its filename when necessary.

Returns

System.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

public string GetDescriptorPath()

Returns the full path of the template descriptor associated with this template.

Returns

System.String

public TemplateInfo()