2 using System.Collections.Generic;
3 using System.Collections.ObjectModel;
4 using System.Configuration;
5 using System.ServiceModel;
6 using System.ServiceModel.Channels;
7 using System.ServiceModel.Configuration;
8 using System.ServiceModel.Description;
9 using System.ServiceModel.Dispatcher;
11 namespace System.ServiceModel.Routing.Configuration
13 [ConfigurationCollection (typeof(NamespaceElement))]
14 public class NamespaceElementCollection : ConfigurationElementCollection
16 public void Add (NamespaceElement element)
26 protected override ConfigurationElement CreateNewElement ()
28 return new NamespaceElement ();
31 protected override object GetElementKey (ConfigurationElement element)
33 return ((NamespaceElement) element).Prefix;
36 public override bool IsReadOnly ()
38 return base.IsReadOnly ();
41 public void Remove (NamespaceElement element)