Search Results for

    Show / Hide Table of Contents

    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

    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
    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).
    In this article
    • Constructors
      • ProjectTemplateReference(string)
      • ProjectTemplateReference(Uri)
    • Properties
      • Uri
    Back to top Generated by DocFX