Search Results for

    Show / Hide Table of Contents

    Class ProjectTemplateReference

    Represents a reference to an existing project template.

    Inheritance
    System.Object
    ProjectTemplateReference
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.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
    System.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
    System.Uri uri

    The Uri of the project template. 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).

    Properties

    Uri

    Gets the URI of the project template.

    Declaration
    public Uri Uri { get; }
    Property Value
    Type Description
    System.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).

    On this page

    • Constructors
      • ProjectTemplateReference(String)
      • ProjectTemplateReference(Uri)
    • Properties
      • Uri
    Back to top Generated by DocFX