Zum Hauptinhalt springen

ContainerMatchingStrategyConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

One strategy step for matching source containers to target entities. Strategies are tried in order; the first one that resolves a target is used.

public class ContainerMatchingStrategyConfiguration

Inheritance Object → ContainerMatchingStrategyConfiguration

Properties​

Kind​

Strategy discriminator: ExactName, NormalizedName, Regex, Manual.

public ContainerMatchingStrategyKind Kind { get; set; }

Property Value​

ContainerMatchingStrategyKind

SourceAttribute​

Attribute on the source container whose value drives the match (default "Name").

public string SourceAttribute { get; set; }

Property Value​

String

TargetAttribute​

Attribute on the target entity to compare against (default "Name").

public string TargetAttribute { get; set; }

Property Value​

String

Pattern​

For ContainerMatchingStrategyKind.Regex: pattern applied to the source attribute. The first capture group (or group 0 if no group) is the comparison key, matched against the target attribute (normalized).

public string Pattern { get; set; }

Property Value​

String

CaptureGroup​

For ContainerMatchingStrategyKind.Regex: 1-based capture group index (default 1). Use 0 for the entire match.

public int CaptureGroup { get; set; }

Property Value​

Int32

Overrides​

For ContainerMatchingStrategyKind.Manual: explicit container→target overrides by source attribute value (typically Name or RtId).

public ICollection<ManualMatchOverride> Overrides { get; set; }

Property Value​

ICollection<ManualMatchOverride>

Constructors​

ContainerMatchingStrategyConfiguration()​

public ContainerMatchingStrategyConfiguration()