Class ProjectTemplateReference
Represents a reference to an existing project template.
Inherited Members
Namespace: SdlSdl.ProjectAutomationCore
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class ProjectTemplateReference
Constructors
ProjectTemplateReference(string)
Creates a reference to an existing file-based project template.
Declaration
public ProjectTemplateReference(string filePath)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The absolute path to the project template file (*.sdltpl). |
ProjectTemplateReference(Uri)
Creates a reference to the project template with the given URI.
Declaration
public ProjectTemplateReference(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The Uri of the project template. For file-based project templates, this URI should be of the form ,
where is the absolute path of the project template file (*.sdltpl).
|
Properties
Uri
Gets the URI of the project template.
Declaration
public Uri Uri { get; }
Property Value
Type | Description |
---|---|
Uri |
Remarks
For file-based project templates, this URI should be of the form
file://PROJECTTEMPLATE_FILE_PATH
,
where PROJECTTEMPLATE_FILE_PATH
is the absolute path of the project template file (*.sdltpl).