Class FeatureReference
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
RolestringThe association role name (the local element name carrying
xlink:href).HrefstringThe raw
xlink:hrefvalue.TargetDatasetIdDatasetId?The dataset containing the target, if it could be resolved within the catalog snapshot.
TargetFeatureIdstringThe target feature ID, if extractable from the href.
Resolvedbooltruewhen 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
Resolved
true when both target dataset and feature ID were located in the snapshot.
public bool Resolved { get; init; }
Property Value
Role
The association role name (the local element name carrying xlink:href).
public string Role { get; init; }
Property Value
TargetDatasetId
The dataset containing the target, if it could be resolved within the catalog snapshot.
public DatasetId? TargetDatasetId { get; init; }
Property Value
TargetFeatureId
The target feature ID, if extractable from the href.
public string? TargetFeatureId { get; init; }