Class NewProjectPlan
- Namespace
- S1Interop.Core.Scaffolding
- Assembly
- S1Interop.Core.dll
Describes the files that will be written for a new backend-neutral project.
public sealed record NewProjectPlan
- Inheritance
-
objectNewProjectPlan
Constructors
NewProjectPlan(string, string, string, string, string, string, string, string, string)
Describes the files that will be written for a new backend-neutral project.
public NewProjectPlan(string ProjectName, string TargetDirectory, string SolutionPath, string ProjectPath, string CorePath, string StarterPath, string LocalPropsExamplePath, string GitignorePath, string ReadmePath)
Parameters
ProjectNamestringThe generated project and root namespace name.
TargetDirectorystringThe target directory for the scaffolded project.
SolutionPathstringThe solution file path.
ProjectPathstringThe project file path.
CorePathstringThe starter mod source file path.
StarterPathstringThe generated S1Interop starter declaration file path.
LocalPropsExamplePathstringThe local path configuration example file path.
GitignorePathstringThe generated
.gitignorefile path.ReadmePathstringThe generated project README path.
Properties
CorePath
The starter mod source file path.
public string CorePath { get; init; }
Property Value
- string
GitignorePath
The generated .gitignore file path.
public string GitignorePath { get; init; }
Property Value
- string
LocalPropsExamplePath
The local path configuration example file path.
public string LocalPropsExamplePath { get; init; }
Property Value
- string
PlannedFiles
Gets all files that the scaffold apply step writes for this plan.
public IReadOnlyList<string> PlannedFiles { get; }
Property Value
- IReadOnlyList<string>
ProjectName
The generated project and root namespace name.
public string ProjectName { get; init; }
Property Value
- string
ProjectPath
The project file path.
public string ProjectPath { get; init; }
Property Value
- string
ReadmePath
The generated project README path.
public string ReadmePath { get; init; }
Property Value
- string
SolutionPath
The solution file path.
public string SolutionPath { get; init; }
Property Value
- string
StarterPath
The generated S1Interop starter declaration file path.
public string StarterPath { get; init; }
Property Value
- string
TargetDirectory
The target directory for the scaffolded project.
public string TargetDirectory { get; init; }
Property Value
- string