private void Init(XmlNode node) { definedInModel = true; Init(); this.name = QualName.ExtractName(Utils.Xml.GetAttrValue(node, "name", Const.EmptyName)); XmlNodeList docNodes = Model.QueryNode(node, "./{0}:Doc"); if (docNodes.Count != 0) { doc = new Doc(this, docNodes[0]); } this.SpellHintParams = new SpellHintParams(this, Model.QueryNode(node, "./{0}:SpellHintParam")); }
public MetaObject(MetaObject owner, string name) : this(owner) { this.name = QualName.ExtractName(name); Init(); }
public MetaObject(Model model, string name) : this(model) { this.name = QualName.ExtractName(name); Init(); }