Table of Contents

Class FeatureReference

Namespace
EncDotNet.S100.Datasets.Pipelines.Query
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

A cross-reference from one feature to another, projected from the underlying xlink:href attribute.

public sealed record FeatureReference : IEquatable<FeatureReference>
Inheritance
FeatureReference
Implements
Inherited Members

Constructors

FeatureReference(string, string, DatasetId?, string?, bool)

A cross-reference from one feature to another, projected from the underlying xlink:href attribute.

public FeatureReference(string Role, string Href, DatasetId? TargetDatasetId, string? TargetFeatureId, bool Resolved)

Parameters

Role string

The association role name (the local element name carrying xlink:href).

Href string

The raw xlink:href value.

TargetDatasetId DatasetId?

The dataset containing the target, if it could be resolved within the catalog snapshot.

TargetFeatureId string

The target feature ID, if extractable from the href.

Resolved bool

true when both target dataset and feature ID were located in the snapshot.

Properties

Href

The raw xlink:href value.

public string Href { get; init; }

Property Value

string

Resolved

true when both target dataset and feature ID were located in the snapshot.

public bool Resolved { get; init; }

Property Value

bool

Role

The association role name (the local element name carrying xlink:href).

public string Role { get; init; }

Property Value

string

TargetDatasetId

The dataset containing the target, if it could be resolved within the catalog snapshot.

public DatasetId? TargetDatasetId { get; init; }

Property Value

DatasetId?

TargetFeatureId

The target feature ID, if extractable from the href.

public string? TargetFeatureId { get; init; }

Property Value

string