Represents a MonoRail extension configuration entry
Inheritance: ISerializedConfig
		/// <summary>
		/// Deserializes the specified section.
		/// </summary>
		/// <param name="section">The section.</param>
		public void Deserialize(XmlNode section)
		{
			XmlNodeList services = section.SelectNodes("extensions/extension");
			
			foreach(XmlNode node in services)
			{
				ExtensionEntry entry = new ExtensionEntry();
				entry.Deserialize(node);
				InnerList.Add(entry);
			}
		}
Exemplo n.º 2
0
        /// <summary>
        /// Deserializes the specified section.
        /// </summary>
        /// <param name="section">The section.</param>
        public void Deserialize(XmlNode section)
        {
            var services = section.SelectNodes("extensions/extension");

            foreach (XmlNode node in services)
            {
                var entry = new ExtensionEntry();
                entry.Deserialize(node);
                InnerList.Add(entry);
            }
        }
		/// <summary>
		/// Adds the specified entry.
		/// </summary>
		/// <param name="entry">The entry.</param>
		public void Add(ExtensionEntry entry)
		{
			InnerList.Add(entry);
		}
Exemplo n.º 4
0
 /// <summary>
 /// Adds the specified entry.
 /// </summary>
 /// <param name="entry">The entry.</param>
 public void Add(ExtensionEntry entry)
 {
     InnerList.Add(entry);
 }