Catrobat.IDE.Core.Xml.XmlObjects.Bricks.ControlFlow.XmlIfLogicBeginBrick.LoadFromXml C# (CSharp) Method

LoadFromXml() private method

private LoadFromXml ( System.Xml.Linq.XElement xRoot ) : void
xRoot System.Xml.Linq.XElement
return void
        internal override void LoadFromXml(XElement xRoot)
        {
            if (xRoot != null)
            {
                IfCondition = new XmlFormula(xRoot, XmlConstants.XmlIFCONDITION);
            }
            /*if (xRoot.Element("ifElseBrick") != null)
            {
                IfLogicElseBrickReference = new XmlIfLogicElseBrickReference(xRoot.Element("ifElseBrick"));
            }
            if (xRoot.Element("ifEndBrick") != null)
            {
                IfLogicEndBrickReference = new XmlIfLogicEndBrickReference(xRoot.Element("ifEndBrick"));
            }*/
        }