public OWRecordMember(ITlibNode parent, ITypeInfo ti, VarDesc vd) { Parent = parent; _name = ti.GetDocumentationById(vd.memid); var ig = new IDLGrabber(); vd.elemDescVar.tdesc.ComTypeNameAsString(ti, ig); _type = ig.Value; }
public OWModuleConst(ITlibNode parent, ITypeInfo ti, VarDesc vd, int idx) { _idx = idx; Parent = parent; var ig = new IDLGrabber(); vd.elemDescVar.tdesc.ComTypeNameAsString(ti, ig); _name = ig.Value + " " + ti.GetDocumentationById(vd.memid); _val = vd.varValue ?? ""; if (_val is string) { _val = (_val as string).ReEscape(); } }