Exemplo n.º 1
0
 /// <summary>
 /// XMLデータをコレクションanimesに突っ込む
 /// </summary>
 void AnimeXmlToCollection()
 {
     _animes.Clear();
     XmlElement rootElement = XmlDocObj.DocumentElement;
     XmlElement progItemsElement = (XmlElement)rootElement.FirstChild;
     foreach (XmlElement progItem in progItemsElement.ChildNodes)
     {
         AnimeData anime = new AnimeData(progItem);
         _animes.Add(anime);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// XMLデータをコレクションanimesに突っ込む
        /// </summary>
        void AnimeXmlToCollection()
        {
            _animes.Clear();
            XmlElement rootElement      = XmlDocObj.DocumentElement;
            XmlElement progItemsElement = (XmlElement)rootElement.FirstChild;

            foreach (XmlElement progItem in progItemsElement.ChildNodes)
            {
                AnimeData anime = new AnimeData(progItem);
                _animes.Add(anime);
            }
        }