GeometryGym.Ifc.IfcQuantityWeight.ParseXml C# (CSharp) 메소드

ParseXml() 개인적인 메소드

private ParseXml ( XmlElement xml ) : void
xml XmlElement
리턴 void
        internal override void ParseXml(XmlElement xml)
        {
            base.ParseXml(xml);
            if (xml.HasAttribute("WeightValue"))
                WeightValue = double.Parse(xml.Attributes["WeightValue"].Value);
            if (xml.HasAttribute("Formula"))
                Formula = xml.Attributes["Formula"].Value;
        }