Go to the documentation of this file.00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005 using System.Configuration;
00006 using System.Web.Configuration;
00007
00008 namespace N2.Configuration
00009 {
00010
00011
00012 [ConfigurationCollection(typeof(AssemblyElement))]
00013 public class AssemblyCollection : LazyRemovableCollection<AssemblyElement>
00014 {
00015 public AssemblyCollection()
00016 {
00017 AddDefault(new AssemblyElement("N2"));
00018 AddDefault(new AssemblyElement("N2.Management"));
00019 }
00020
00021 protected override void OnDeserializeRemoveElement(AssemblyElement element, System.Xml.XmlReader reader)
00022 {
00023 element.Assembly = reader.GetAttribute("assembly");
00024 base.OnDeserializeRemoveElement(element, reader);
00025 }
00026 }
00027 }