mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class TemplateFiles

    A helper class to manage (and locate) all the templates.

    Inheritance
    Object
    TemplateFiles
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.MSBuild
    Assembly: cs.temp.dll.dll
    Syntax
    public class TemplateFiles

    Properties

    Instance

    Gets the singleton instance (created on demand) of this class.

    Declaration
    public static TemplateFiles Instance { get; }
    Property Value
    Type Description
    TemplateFiles

    Instance

    Gets the singleton instance (created on demand) of this class.

    Declaration
    public static TemplateFiles Instance { get; }
    Property Value
    Type Description
    TemplateFiles

    MSBuildSolutionTemplatePath

    Gets the MSBuild Solution file (.sln) template path.

    Declaration
    public string MSBuildSolutionTemplatePath { get; }
    Property Value
    Type Description
    String

    MSBuildSolutionTemplatePath

    Gets the MSBuild Solution file (.sln) template path.

    Declaration
    public string MSBuildSolutionTemplatePath { get; }
    Property Value
    Type Description
    String

    OtherFiles

    Gets a list of all other files included among the templates.

    Declaration
    public IReadOnlyList<string> OtherFiles { get; }
    Property Value
    Type Description
    IReadOnlyList<String>

    OtherFiles

    Gets a list of all other files included among the templates.

    Declaration
    public IReadOnlyList<string> OtherFiles { get; }
    Property Value
    Type Description
    IReadOnlyList<String>

    PlatformPropsTemplatePath

    Gets the MSBuild Platform Props file (.props) template path.

    Declaration
    public string PlatformPropsTemplatePath { get; }
    Property Value
    Type Description
    String

    PlatformPropsTemplatePath

    Gets the MSBuild Platform Props file (.props) template path.

    Declaration
    public string PlatformPropsTemplatePath { get; }
    Property Value
    Type Description
    String

    PlatformTemplates

    Gets a list of specialized platform templates.

    Declaration
    public IReadOnlyDictionary<string, string> PlatformTemplates { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, String>

    PlatformTemplates

    Gets a list of specialized platform templates.

    Declaration
    public IReadOnlyDictionary<string, string> PlatformTemplates { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, String>

    PluginMetaTemplatePaths

    Gets a list of meta files for plugins templates.

    Declaration
    public IReadOnlyDictionary<BuildTargetGroup, FileInfo> PluginMetaTemplatePaths { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<BuildTargetGroup, FileInfo>

    PluginMetaTemplatePaths

    Gets a list of meta files for plugins templates.

    Declaration
    public IReadOnlyDictionary<BuildTargetGroup, FileInfo> PluginMetaTemplatePaths { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<BuildTargetGroup, FileInfo>

    SDKProjectFileTemplatePath

    Gets the MSBuild C# SDK Project file (.csproj) template path.

    Declaration
    public string SDKProjectFileTemplatePath { get; }
    Property Value
    Type Description
    String

    SDKProjectFileTemplatePath

    Gets the MSBuild C# SDK Project file (.csproj) template path.

    Declaration
    public string SDKProjectFileTemplatePath { get; }
    Property Value
    Type Description
    String

    Methods

    GetTemplateFilePathForPlatform(String, String)

    Gets the correct platform template file path.

    Declaration
    public string GetTemplateFilePathForPlatform(string platform, string configuration)
    Parameters
    Type Name Description
    String platform

    The platform of the requested template.

    String configuration

    The configuration of the requested template.

    Returns
    Type Description
    String

    The absolute file path for the platform template to use.

    GetTemplateFilePathForPlatform(String, String)

    Gets the correct platform template file path.

    Declaration
    public string GetTemplateFilePathForPlatform(string platform, string configuration)
    Parameters
    Type Name Description
    String platform

    The platform of the requested template.

    String configuration

    The configuration of the requested template.

    Returns
    Type Description
    String

    The absolute file path for the platform template to use.

    In This Article
    • Properties
      • Instance
      • Instance
      • MSBuildSolutionTemplatePath
      • MSBuildSolutionTemplatePath
      • OtherFiles
      • OtherFiles
      • PlatformPropsTemplatePath
      • PlatformPropsTemplatePath
      • PlatformTemplates
      • PlatformTemplates
      • PluginMetaTemplatePaths
      • PluginMetaTemplatePaths
      • SDKProjectFileTemplatePath
      • SDKProjectFileTemplatePath
    • Methods
      • GetTemplateFilePathForPlatform(String, String)
      • GetTemplateFilePathForPlatform(String, String)
    Back to top Generated by DocFX