Class ScaffoldRequest
Namespace: Cephalon.Scaffolding.Generation
Assembly: Cephalon.Scaffolding.dll
Describes the user input required to turn an app profile into a concrete scaffold.
public sealed class ScaffoldRequestInheritance
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”ScaffoldRequest(string, IReadOnlyList<string>?, IReadOnlyList<string>?, string, string)
Section titled “ ScaffoldRequest(string, IReadOnlyList<string>?, IReadOnlyList<string>?, string, string)”Creates a new scaffold request.
public ScaffoldRequest(string appName, IReadOnlyList<string>? modules = null, IReadOnlyList<string>? features = null, string targetFramework = "net10.0", string cephalonPackageVersion = "0.1.0-preview")Parameters
Section titled “Parameters”appName string
The application name to scaffold.
modules IReadOnlyList<string>?
The module names to materialize in the scaffold.
features IReadOnlyList<string>?
The feature or slice names to materialize in the scaffold.
targetFramework string
The target framework for generated projects.
cephalonPackageVersion string
The Cephalon package version to write into the scaffold.
Properties
Section titled “Properties”AppName
Section titled “ AppName”Gets the application name to scaffold.
public string AppName { get; }Property Value
Section titled “Property Value”CephalonPackageVersion
Section titled “ CephalonPackageVersion”Gets the Cephalon package version written into the scaffold.
public string CephalonPackageVersion { get; }Property Value
Section titled “Property Value”Features
Section titled “ Features”Gets the feature or slice names to materialize in the scaffold.
public IReadOnlyList<string> Features { get; }Property Value
Section titled “Property Value”Modules
Section titled “ Modules”Gets the module names to materialize in the scaffold.
public IReadOnlyList<string> Modules { get; }Property Value
Section titled “Property Value”RootNamespace
Section titled “ RootNamespace”Gets the root namespace derived from
public string RootNamespace { get; }Property Value
Section titled “Property Value”TargetFramework
Section titled “ TargetFramework”Gets the target framework for generated projects.
public string TargetFramework { get; }