Class ScaffoldProject
Namespace: Cephalon.Abstractions.AppModel.Scaffolding
Assembly: Cephalon.Abstractions.dll
Describes one project emitted by a scaffold plan.
public sealed class ScaffoldProjectInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ScaffoldProject(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)
Section titled “ ScaffoldProject(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”Creates a scaffold-project description.
public ScaffoldProject(string id, string nameTemplate, string pathTemplate, string scope, string role, string template, IReadOnlyList<string>? dependsOn = null, IReadOnlyList<string>? packages = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”id string
The stable project identifier.
nameTemplate string
The project-name template.
pathTemplate string
The project-path template.
scope string
The scaffold scope that owns the project.
role string
The canonical project role.
template string
The template used to create the project.
dependsOn IReadOnlyList<string>?
The project identifiers this project depends on.
packages IReadOnlyList<string>?
The package hints associated with the project.
metadata IReadOnlyDictionary<string, string>?
Optional project metadata.
Properties
Section titled “Properties”DependsOn
Section titled “ DependsOn”Gets the project identifiers this project depends on.
public IReadOnlyList<string> DependsOn { get; }Property Value
Section titled “Property Value”Gets the stable project identifier.
public string Id { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional project metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
NameTemplate
Section titled “ NameTemplate”Gets the project-name template.
public string NameTemplate { get; }Property Value
Section titled “Property Value”Packages
Section titled “ Packages”Gets the package hints associated with the project.
public IReadOnlyList<string> Packages { get; }Property Value
Section titled “Property Value”PathTemplate
Section titled “ PathTemplate”Gets the project-path template.
public string PathTemplate { get; }Property Value
Section titled “Property Value”Gets the canonical project role.
public string Role { get; }Property Value
Section titled “Property Value”Gets the scaffold scope that owns the project.
public string Scope { get; }Property Value
Section titled “Property Value”Template
Section titled “ Template”Gets the template used to create the project.
public string Template { get; }