public static dynamic GetTSObject(SymbolAttributes dynObject) { if (dynObject is null) { return(null); } return(dynObject.teklaObject); }
public Symbol(string name, SymbolType type) { Attributes = new SymbolAttributes(); Name = name; Type = type; }
protected Symbol() { Attributes = new SymbolAttributes(); }
static string SymbolAttributesToXMLString(SymbolAttributes attributes) { StringBuilder str = new StringBuilder(); foreach (var key in attributes.Keys) { str.Append(string.Format("{0}=\"{1}\" ", key.ToLower(), attributes[key].ToString().Replace('"', '\''))); } return str.ToString(); }