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

Class ProjectionDescriptor

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

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes one projection surface contributed to the active runtime.

public sealed class ProjectionDescriptor

objectProjectionDescriptor

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

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

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

Creates a new projection descriptor.

public ProjectionDescriptor(string id, string displayName, string description, string sourceModuleId, string targetStoreId, string mode = "asynchronous", IReadOnlyList<string>? sourceContracts = null, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable projection identifier.

displayName string

The operator-facing projection name.

description string

The human-readable projection description.

sourceModuleId string

The module identifier that owns the projection.

targetStoreId string

The logical target store or read-model identifier populated by the projection.

mode string

The projection mode such as synchronous, asynchronous, or rebuild.

sourceContracts IReadOnlyList<string>?

Optional source contracts that can feed the projection.

tags IReadOnlyList<string>?

Optional descriptive tags associated with the projection.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata associated with the projection.

Gets the human-readable projection description.

public string Description { get; }

string

Gets the operator-facing projection name.

public string DisplayName { get; }

string

Gets the stable projection identifier.

public string Id { get; }

string

Gets operator-facing metadata associated with the projection.

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

IReadOnlyDictionary<string, string>

Gets the projection mode.

public string Mode { get; }

string

Gets the optional source contracts that can feed the projection.

public IReadOnlyList<string> SourceContracts { get; }

IReadOnlyList<string>

Gets the identifier of the module that owns the projection.

public string SourceModuleId { get; }

string

Gets descriptive tags associated with the projection.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>

Gets the logical target store or read-model identifier populated by the projection.

public string TargetStoreId { get; }

string