ข้ามไปยังเนื้อหา

Class ScaffoldProject

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.AppModel.Scaffolding
Assembly: Cephalon.Abstractions.dll

Describes one project emitted by a scaffold plan.

public sealed class ScaffoldProject

objectScaffoldProject

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

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)

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.

Gets the project identifiers this project depends on.

public IReadOnlyList<string> DependsOn { get; }

IReadOnlyList<string>

Gets the stable project identifier.

public string Id { get; }

string

Gets optional project metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the project-name template.

public string NameTemplate { get; }

string

Gets the package hints associated with the project.

public IReadOnlyList<string> Packages { get; }

IReadOnlyList<string>

Gets the project-path template.

public string PathTemplate { get; }

string

Gets the canonical project role.

public string Role { get; }

string

Gets the scaffold scope that owns the project.

public string Scope { get; }

string

Gets the template used to create the project.

public string Template { get; }

string