Class ProjectGeneration
Inheritance
ProjectGeneration
Assembly: Unity.VisualStudio.Editor.dll
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
Fields
MSBuildNamespaceUri
Declaration
public static readonly string MSBuildNamespaceUri
Field Value
Properties
AssemblyNameProvider
Declaration
public IAssemblyNameProvider AssemblyNameProvider { get; }
Property Value
ProjectDirectory
Declaration
public string ProjectDirectory { get; }
Property Value
Methods
GenerateAndWriteSolutionAndProjects()
Declaration
public void GenerateAndWriteSolutionAndProjects()
HasSolutionBeenGenerated()
Declaration
public bool HasSolutionBeenGenerated()
Returns
IsSupportedFile(string)
Declaration
public bool IsSupportedFile(string path)
Parameters
| Type |
Name |
Description |
| string |
path |
|
Returns
ProjectFile(Assembly)
Declaration
public string ProjectFile(Assembly assembly)
Parameters
Returns
SolutionFile()
Declaration
public string SolutionFile()
Returns
Sync()
Declaration
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
Returns
| Type |
Description |
| bool |
Whether the solution was synced.
|
Implements