Class ProjectGeneration
Inheritance
System.Object
ProjectGeneration
Syntax
public class ProjectGeneration : IGenerator
Constructors
ProjectGeneration()
Declaration
public ProjectGeneration()
ProjectGeneration(String)
Declaration
public ProjectGeneration(string tempDirectory)
Parameters
| Type |
Name |
Description |
| System.String |
tempDirectory |
|
ProjectGeneration(String, IAssemblyNameProvider)
Declaration
public ProjectGeneration(string tempDirectory, IAssemblyNameProvider assemblyNameProvider)
Parameters
Fields
MSBuildNamespaceUri
Declaration
public static readonly string MSBuildNamespaceUri
Field Value
| Type |
Description |
| System.String |
|
Properties
ProjectDirectory
Declaration
public string ProjectDirectory { get; }
Property Value
| Type |
Description |
| System.String |
|
Implements
Settings
Declaration
public TestSettings Settings { get; set; }
Property Value
Methods
GenerateAll(Boolean)
Declaration
public void GenerateAll(bool generateAll)
Parameters
| Type |
Name |
Description |
| System.Boolean |
generateAll |
|
Implements
GenerateAndWriteSolutionAndProjects()
Declaration
public void GenerateAndWriteSolutionAndProjects()
HasSolutionBeenGenerated()
Declaration
public bool HasSolutionBeenGenerated()
Returns
| Type |
Description |
| System.Boolean |
|
Implements
ProjectFile(Assembly)
Declaration
public string ProjectFile(Assembly assembly)
Parameters
| Type |
Name |
Description |
| Assembly |
assembly |
|
Returns
| Type |
Description |
| System.String |
|
SolutionFile()
Declaration
public string SolutionFile()
Returns
| Type |
Description |
| System.String |
|
Implements
Sync()
Declaration
Implements
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 |
| System.Collections.Generic.IEnumerable<System.String> |
affectedFiles |
A set of files whose status has changed
|
| System.Collections.Generic.IEnumerable<System.String> |
reimportedFiles |
A set of files that got reimported
|
Returns
| Type |
Description |
| System.Boolean |
Whether the solution was synced.
|
Implements