1 namespace Castle
.MonoRail
.Framework
.Configuration
3 using System
.Collections
;
7 /// Represents a set of url mappings
9 public class DefaultUrlCollection
: CollectionBase
, ISerializedConfig
11 #region ISerializedConfig implementation
14 /// Deserializes the specified section.
16 /// <param name="section">The section.</param>
17 public void Deserialize(XmlNode section
)
19 XmlNodeList urls
= section
.SelectNodes("defaultUrls/add");
21 foreach(XmlNode node
in urls
)
23 DefaultUrl entry
= new DefaultUrl();
25 entry
.Deserialize(node
);