private void ParseUrls(System.Xml.XmlReader reader) { reader.Read(); while (reader.LocalName == "url") { PhotoInfoUrl url = new PhotoInfoUrl(); ((IFlickrParsable)url).Load(reader); Urls.Add(url); } }
private void ParseUrls(XmlReader reader) { reader.Read(); while (reader.LocalName == "url") { PhotoInfoUrl photoInfoUrl = new PhotoInfoUrl(); photoInfoUrl.Load(reader); this.Urls.Add(photoInfoUrl); } }