Example #1
0
        public override void Parse(System.Xml.XmlNode dom)
        {
            this.Role = dom.Attributes["Role"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                var propertyRef = new PropertyRef();
                propertyRef.Parse(n);
                this.PropertyRef = propertyRef;
            }

            base.Parse(dom);
        }
Example #2
0
        public override void Parse(System.Xml.XmlNode dom)
        {
            //this.PropertyRefId = this.Dom.Attributes["PropertyRefId"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                if (n.Name == "PropertyRef")
                {
                    var propertyRef = new PropertyRef();
                    propertyRef.Parent = this;
                    propertyRef.Parse(n);
                    this.PropertyRef = propertyRef;
                    break;
                }
            }

            base.Parse(dom);
        }
Example #3
0
        public override void Parse(System.Xml.XmlNode dom)
        {
            //this.PropertyRefId = this.Dom.Attributes["PropertyRefId"].Value;

            foreach (XmlNode n in dom.ChildNodes)
            {
                if (n.Name == "PropertyRef")
                {
                    var propertyRef = new PropertyRef();
                    propertyRef.Parent = this;
                    propertyRef.Parse(n);
                    this.PropertyRef = propertyRef;
                    break;
                }
            }

            base.Parse(dom);
        }