Catrobat.IDE.Core.Xml.XmlObjects.XmlSoundList.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)
        {
            Sounds = new List<XmlSound>();
            foreach (XElement element in xRoot.Elements())
            {
                Sounds.Add(new XmlSound(element));
            }
        }