Class VarAccessor
- Namespace
- LunyScript.Blocks
- Assembly
- LunyScript.dll
Provides indexed access to script variables. Getter returns a VariableBlock for use in script expressions and conditions. Setter performs immediate variable assignment during Build().
public sealed class VarAccessor
- Inheritance
-
objectVarAccessor
Properties
this[string]
public TableVariableBlock this[string name] { get; set; }
Parameters
namestring
Property Value
Methods
Constant(string, Variable)
public TableVariableBlock Constant(string name, Variable value)
Parameters
namestringvalueVariable
Returns
Define(string, Variable)
public TableVariableBlock Define(string name, Variable value)
Parameters
namestringvalueVariable