Skip to content

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 ScaffoldRequest

objectScaffoldRequest

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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")

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.

Gets the application name to scaffold.

public string AppName { get; }

string

Gets the Cephalon package version written into the scaffold.

public string CephalonPackageVersion { get; }

string

Gets the feature or slice names to materialize in the scaffold.

public IReadOnlyList<string> Features { get; }

IReadOnlyList<string>

Gets the module names to materialize in the scaffold.

public IReadOnlyList<string> Modules { get; }

IReadOnlyList<string>

Gets the root namespace derived from .

public string RootNamespace { get; }

string

Gets the target framework for generated projects.

public string TargetFramework { get; }

string