Inheritance: XmlObjectNode
コード例 #1
0
        protected XmlScript(XElement xElement)
        {
            Bricks = new XmlBrickList();

            LoadFromCommonXML(xElement);
            LoadFromXml(xElement);
        }
コード例 #2
0
        private void LoadFromCommonXML(XElement xRoot)
        {
            XmlParserTempProjectHelper.Script = this;

            if (xRoot != null && xRoot.Element(XmlConstants.BrickList) != null)
            {
                Bricks = new XmlBrickList(xRoot.Element(XmlConstants.BrickList));
            }
        }
コード例 #3
0
        public override bool Equals(System.Object obj)
        {
            XmlBrickList l = obj as XmlBrickList;

            if ((object)l == null)
            {
                return(false);
            }

            return(this.Equals(l));
        }
コード例 #4
0
 public bool Equals(XmlBrickList l)
 {
     return this.Bricks.Equals(l.Bricks);
 }
コード例 #5
0
 protected XmlScript()
 {
     Bricks = new XmlBrickList();
 }
コード例 #6
0
 public bool Equals(XmlBrickList l)
 {
     return(this.Bricks.Equals(l.Bricks));
 }