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

Class AppBlueprint

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

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

Describes a shipped Cephalon blueprint together with its baseline patterns and scaffold shape.

public sealed class AppBlueprint

objectAppBlueprint

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

AppBlueprint(string, string, string, IReadOnlyList<PatternDescriptor>, IReadOnlyDictionary<string, string>?)

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

Creates a blueprint without scaffold metadata.

public AppBlueprint(string id, string displayName, string description, IReadOnlyList<PatternDescriptor> patterns, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable blueprint identifier.

displayName string

The human-readable blueprint name.

description string

The blueprint description.

patterns IReadOnlyList<PatternDescriptor>

The baseline patterns implied by the blueprint.

metadata IReadOnlyDictionary<string, string>?

Optional blueprint metadata.

AppBlueprint(string, string, string, IReadOnlyList<PatternDescriptor>, ScaffoldPlan?, IReadOnlyDictionary<string, string>?)

Section titled “ AppBlueprint(string, string, string, IReadOnlyList<PatternDescriptor>, ScaffoldPlan?, IReadOnlyDictionary<string, string>?)”

Creates a blueprint with optional scaffold metadata.

[JsonConstructor]
public AppBlueprint(string id, string displayName, string description, IReadOnlyList<PatternDescriptor> patterns, ScaffoldPlan? scaffold, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable blueprint identifier.

displayName string

The human-readable blueprint name.

description string

The blueprint description.

patterns IReadOnlyList<PatternDescriptor>

The baseline patterns implied by the blueprint.

scaffold ScaffoldPlan?

The scaffold plan associated with the blueprint.

metadata IReadOnlyDictionary<string, string>?

Optional blueprint metadata.

Gets the blueprint description.

public string Description { get; }

string

Gets the human-readable blueprint name.

public string DisplayName { get; }

string

Gets the stable blueprint identifier.

public string Id { get; }

string

Gets additional blueprint metadata.

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

IReadOnlyDictionary<string, string>

Gets the baseline patterns implied by the blueprint.

public IReadOnlyList<PatternDescriptor> Patterns { get; }

IReadOnlyList<PatternDescriptor>

Gets the scaffold plan associated with the blueprint, when one is defined.

public ScaffoldPlan? Scaffold { get; }

ScaffoldPlan?