コード例 #1
0
 // Construct a checker for getting expected information about the given element.
 public Checker(XmlElement node, IntellisensePosition position)
 {
     this.node = node;
     this.position = position;
     parents = new Hashtable();
     XmlNode p = node.ParentNode;
     while (p != null) {
         parents[p] = p;
         p = p.ParentNode;
     }
 }
コード例 #2
0
ファイル: Checker.cs プロジェクト: steveshep/XmlNotepad
        // Construct a checker for getting expected information about the given element.
        public Checker(XmlElement node, IntellisensePosition position)
        {
            this.node     = node;
            this.position = position;
            parents       = new Hashtable();
            XmlNode p = node.ParentNode;

            while (p != null)
            {
                parents[p] = p;
                p          = p.ParentNode;
            }
        }