Class ProjectTemplateReference
Represents a reference to an existing project template.
Inheritance
Object
ProjectTemplateReference
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.ProjectAutomation.Core
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).