Class ProjectGeneration | Rider Editor | 1.1.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ProjectGeneration

    Inheritance
    Object
    ProjectGeneration
    Namespace: Packages.Rider.Editor.ProjectGeneration
    Syntax
    public class ProjectGeneration : IGenerator

    Constructors

    ProjectGeneration()

    Declaration
    public ProjectGeneration()

    ProjectGeneration(String)

    Declaration
    public ProjectGeneration(string tempDirectory)
    Parameters
    Type Name Description
    String tempDirectory

    ProjectGeneration(String, IAssemblyNameProvider, IFileIO, IGUIDGenerator)

    Declaration
    public ProjectGeneration(string tempDirectory, IAssemblyNameProvider assemblyNameProvider, IFileIO fileIoProvider, IGUIDGenerator guidGenerator)
    Parameters
    Type Name Description
    String tempDirectory
    IAssemblyNameProvider assemblyNameProvider
    IFileIO fileIoProvider
    IGUIDGenerator guidGenerator

    Fields

    MSBuildNamespaceUri

    Declaration
    public static readonly string MSBuildNamespaceUri
    Field Value
    Type Description
    String

    Properties

    ProjectDirectory

    Declaration
    public string ProjectDirectory { get; }
    Property Value
    Type Description
    String
    Implements
    IGenerator.ProjectDirectory

    Methods

    GenerateAll(Boolean)

    Declaration
    public void GenerateAll(bool generateAll)
    Parameters
    Type Name Description
    Boolean generateAll
    Implements
    IGenerator.GenerateAll(Boolean)

    GenerateAndWriteSolutionAndProjects(Type[])

    Declaration
    public void GenerateAndWriteSolutionAndProjects(Type[] types)
    Parameters
    Type Name Description
    Type[] types

    GetAssetPostprocessorTypes()

    Declaration
    public static Type[] GetAssetPostprocessorTypes()
    Returns
    Type Description
    Type[]

    HasSolutionBeenGenerated()

    Declaration
    public bool HasSolutionBeenGenerated()
    Returns
    Type Description
    Boolean
    Implements
    IGenerator.HasSolutionBeenGenerated()

    ProjectFile(UnityEditor.Compilation.Assembly)

    Declaration
    public string ProjectFile(UnityEditor.Compilation.Assembly assembly)
    Parameters
    Type Name Description
    UnityEditor.Compilation.Assembly assembly
    Returns
    Type Description
    String

    SolutionFile()

    Declaration
    public string SolutionFile()
    Returns
    Type Description
    String
    Implements
    IGenerator.SolutionFile()

    Sync()

    Declaration
    public void Sync()
    Implements
    IGenerator.Sync()

    SyncIfNeeded(IEnumerable<String>, IEnumerable<String>)

    Syncs the scripting solution if any affected files are relevant.

    Declaration
    public bool SyncIfNeeded(IEnumerable<string> affectedFiles, IEnumerable<string> reimportedFiles)
    Parameters
    Type Name Description
    IEnumerable<String> affectedFiles

    A set of files whose status has changed

    IEnumerable<String> reimportedFiles

    A set of files that got reimported

    Returns
    Type Description
    Boolean

    Whether the solution was synced.

    Implements
    IGenerator.SyncIfNeeded(IEnumerable<String>, IEnumerable<String>)

    Explicit Interface Implementations

    IGenerator.AssemblyNameProvider

    Declaration
    IAssemblyNameProvider IGenerator.AssemblyNameProvider { get; }
    Returns
    Type Description
    IAssemblyNameProvider
    Implements
    IGenerator.AssemblyNameProvider
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023