00001 using System.Xml; 00002 using System.Configuration; 00003 00004 namespace N2.Configuration 00005 { 00009 [ConfigurationCollection(typeof(ContainableElement))] 00010 public class ContainableCollection : LazyRemovableCollection<ContainableElement> 00011 { 00012 public static ContainableCollection Deserialize(XmlReader reader) 00013 { 00014 ContainableCollection collection = new ContainableCollection(); 00015 collection.DeserializeElement(reader, true); 00016 return collection; 00017 } 00018 } 00019 }