Table of Contents

Class PortrayalRule

Namespace
EncDotNet.S100.Pipelines.Vector
Assembly
EncDotNet.S100.Core.dll

Metadata about a portrayal rule from the portrayal catalogue. Used by the pipeline to determine which rules to execute for a given dataset.

public sealed class PortrayalRule
Inheritance
PortrayalRule
Inherited Members

Properties

AlwaysApply

When true, this rule runs regardless of which feature types are present (e.g. meta-feature rules, global symbol setup).

public bool AlwaysApply { get; init; }

Property Value

bool

AppliesTo

Feature type codes this rule applies to (e.g. ["DepthContour", "DepthArea"]). Empty when AlwaysApply is true.

public required IReadOnlyList<string> AppliesTo { get; init; }

Property Value

IReadOnlyList<string>

ExecutionOrder

Execution order within the catalogue. Rules run in ascending order; later rules may reference symbols established by earlier ones.

public required int ExecutionOrder { get; init; }

Property Value

int

Name

Rule file name (e.g. "DepthContour.xsl" or "LIGHTS05.lua").

public required string Name { get; init; }

Property Value

string

Type

Whether this rule is XSLT or Lua.

public required PortrayalRuleType Type { get; init; }

Property Value

PortrayalRuleType