Example #1
0
 private TrackListEntry LoadEntry(XmlReader reader)
 {
     TrackListEntry entry = new TrackListEntry();
     while (reader.Read()) {
         if (reader.IsStartElement()) {
             switch (reader.Name) {
                 case "TrackName": {
                         entry.TrackName = reader.ReadString();
                     }
                     break;
             }
         }
     }
     return entry;
 }
Example #2
0
        private TrackListEntry LoadEntry(XmlReader reader)
        {
            TrackListEntry entry = new TrackListEntry();

            while (reader.Read())
            {
                if (reader.IsStartElement())
                {
                    switch (reader.Name)
                    {
                    case "TrackName": {
                        entry.TrackName = reader.ReadString();
                    }
                    break;
                    }
                }
            }
            return(entry);
        }