Class RuleFile
- Namespace
- EncDotNet.S100.Portrayals
- Assembly
- EncDotNet.S100.Portrayals.dll
A portrayal rule file declared in the catalogue's rules section —
an XSLT template or Lua script that maps features to drawing instructions.
Files are loaded from the catalogue's Rules/ folder.
public sealed class RuleFile
- Inheritance
-
RuleFile
- Inherited Members
Properties
Description
The rule file's description block.
public required Description Description { get; init; }
Property Value
FileFormat
Rule language, from fileFormat (e.g. XSLT or LUA).
public required string FileFormat { get; init; }
Property Value
FileName
File name relative to the Rules/ folder, from fileName.
public required string FileName { get; init; }
Property Value
FileType
Kind of file, from fileType as written in the catalogue (e.g. Rule).
public required string FileType { get; init; }
Property Value
Id
Rule file identifier, from ruleFile/@id.
public required string Id { get; init; }
Property Value
RuleType
Role of the file in rule execution, from ruleType:
TopLevelTemplate marks an entry point; other values (e.g.
SubTemplate) are included by an entry point. XSLT catalogues
only execute TopLevelTemplate files directly.
public required string RuleType { get; init; }