Table of Contents

Class LuaContextParameter

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

A context-parameter declaration from a Lua portrayal catalogue (S-100 Part 9A): the parameter id, its encoded type, and its default value, as declared in the portrayal catalogue. This is the Core-level projection of a catalogue's context-parameter set, kept free of any dependency on the portrayal-catalogue assembly so that ILuaRuleSource can live in Core.

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

Constructors

LuaContextParameter(string, string, string)

A context-parameter declaration from a Lua portrayal catalogue (S-100 Part 9A): the parameter id, its encoded type, and its default value, as declared in the portrayal catalogue. This is the Core-level projection of a catalogue's context-parameter set, kept free of any dependency on the portrayal-catalogue assembly so that ILuaRuleSource can live in Core.

public LuaContextParameter(string Id, string Type, string Default)

Parameters

Id string

Parameter id (e.g. SafetyContour, FourShades, TwoShades).

Type string

Encoded parameter type (e.g. boolean, real, text).

Default string

Default value as declared in the catalogue.

Properties

Default

Default value as declared in the catalogue.

public string Default { get; init; }

Property Value

string

Id

Parameter id (e.g. SafetyContour, FourShades, TwoShades).

public string Id { get; init; }

Property Value

string

Type

Encoded parameter type (e.g. boolean, real, text).

public string Type { get; init; }

Property Value

string