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 (BackupEndpointCollection), AddItemName = "backupList")]
14 public class BackupListCollection : ConfigurationElementCollection
16 public void Add (BackupEndpointCollection element)
21 protected override ConfigurationElement CreateNewElement ()
23 return new BackupEndpointElement ();
26 protected override Object GetElementKey (ConfigurationElement element)
28 return ((BackupEndpointElement) element).EndpointName;
31 public void Remove (BackupEndpointCollection element)
36 public new BackupEndpointCollection this [string name] {
37 get { return (BackupEndpointCollection) BaseGet (name); }