Class LuaContextParameter
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
IdstringParameter id (e.g.
SafetyContour,FourShades,TwoShades).TypestringEncoded parameter type (e.g.
boolean,real,text).DefaultstringDefault value as declared in the catalogue.
Properties
Default
Default value as declared in the catalogue.
public string Default { get; init; }
Property Value
Id
Parameter id (e.g. SafetyContour, FourShades, TwoShades).
public string Id { get; init; }
Property Value
Type
Encoded parameter type (e.g. boolean, real, text).
public string Type { get; init; }