Deserialize() public method

Deserializes the specified section.
public Deserialize ( XmlNode section ) : void
section System.Xml.XmlNode The section.
return void
		/// <summary>
		/// Deserializes the specified section.
		/// </summary>
		/// <param name="section">The section.</param>
		public void Deserialize(XmlNode section)
		{
			XmlNodeList urls = section.SelectNodes("defaultUrls/add");

			foreach(XmlNode node in urls)
			{
				DefaultUrl entry = new DefaultUrl();

				entry.Deserialize(node);

				InnerList.Add(entry);
			}
		}
        /// <summary>
        /// Deserializes the specified section.
        /// </summary>
        /// <param name="section">The section.</param>
        public void Deserialize(XmlNode section)
        {
            var urls = section.SelectNodes("defaultUrls/add");

            foreach (XmlNode node in urls)
            {
                var entry = new DefaultUrl();

                entry.Deserialize(node);

                InnerList.Add(entry);
            }
        }