Ejemplo n.º 1
0
        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"));
        }
Ejemplo n.º 2
0
 public MetaObject(MetaObject owner, string name)
     : this(owner)
 {
     this.name = QualName.ExtractName(name);
     Init();
 }
Ejemplo n.º 3
0
 public MetaObject(Model model, string name)
     : this(model)
 {
     this.name = QualName.ExtractName(name);
     Init();
 }