public Property(AccessLimit accessLimit, CompileType compileType, VariableType type, string name, string getReturnCode, string comment = null) { this.AccessLimit = accessLimit; this.Type = TypeUtil.GetCodeType(type); this.CompileType = compileType; this.Name = name; this.GetReturnCode = getReturnCode; this.Comment = comment; }
public Variable(AccessLimit accessLimit, CompileType compileType, VariableType type, string name, string value, string comment = null) { this.AccessLimit = accessLimit; this.CompileType = compileType; this.Name = name; this.Value = value; this.Type = TypeUtil.GetCodeType(type); this.CompileType = compileType; this.Comment = comment; }