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

Class RenderedProject

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

Namespace: Cephalon.Scaffolding.Generation
Assembly: Cephalon.Scaffolding.dll

Represents one project produced by scaffold generation.

public sealed class RenderedProject

objectRenderedProject

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

RenderedProject(string, string, string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyDictionary<string, string>?)

Section titled “ RenderedProject(string, string, string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyDictionary<string, string>?)”

Creates a new rendered project.

public RenderedProject(string key, string sourceProjectId, string name, string path, string scope, string role, string template, IReadOnlyList<string> packages, IReadOnlyList<string> projectReferences, IReadOnlyDictionary<string, string>? metadata = null)

key string

The unique key of the rendered project instance.

sourceProjectId string

The source scaffold project identifier that produced this instance.

name string

The generated project name.

path string

The relative scaffold path of the project directory.

scope string

The scaffold scope that produced the project.

role string

The scaffold role of the project.

template string

The scaffold template used to generate the project.

packages IReadOnlyList<string>

The package references implied by the scaffold plan.

projectReferences IReadOnlyList<string>

The project references implied by the scaffold plan.

metadata IReadOnlyDictionary<string, string>?

Additional metadata associated with the project.

Gets the unique key of the rendered project instance.

public string Key { get; }

string

Gets additional metadata associated with the project.

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

IReadOnlyDictionary<string, string>

Gets the generated project name.

public string Name { get; }

string

Gets the package references implied by the scaffold plan.

public IReadOnlyList<string> Packages { get; }

IReadOnlyList<string>

Gets the relative scaffold path of the project directory.

public string Path { get; }

string

Gets the project references implied by the scaffold plan.

public IReadOnlyList<string> ProjectReferences { get; }

IReadOnlyList<string>

Gets the scaffold role of the project.

public string Role { get; }

string

Gets the scaffold scope that produced the project.

public string Scope { get; }

string

Gets the source scaffold project identifier that produced this instance.

public string SourceProjectId { get; }

string

Gets the scaffold template that was used to generate the project.

public string Template { get; }

string