mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
Apart from completing more of the API, this fixes a verification failure on the DLL svn path=/trunk/mcs/; revision=152857
41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Configuration;
|
|
using System.ServiceModel;
|
|
using System.ServiceModel.Channels;
|
|
using System.ServiceModel.Configuration;
|
|
using System.ServiceModel.Description;
|
|
using System.ServiceModel.Dispatcher;
|
|
|
|
namespace System.ServiceModel.Routing.Configuration
|
|
{
|
|
[ConfigurationCollection (typeof (BackupEndpointCollection), AddItemName = "backupList")]
|
|
public class BackupListCollection : ConfigurationElementCollection
|
|
{
|
|
public void Add (BackupEndpointCollection element)
|
|
{
|
|
BaseAdd (element);
|
|
}
|
|
|
|
protected override ConfigurationElement CreateNewElement ()
|
|
{
|
|
return new BackupEndpointElement ();
|
|
}
|
|
|
|
protected override Object GetElementKey (ConfigurationElement element)
|
|
{
|
|
return ((BackupEndpointElement) element).EndpointName;
|
|
}
|
|
|
|
public void Remove (BackupEndpointCollection element)
|
|
{
|
|
BaseRemove (element);
|
|
}
|
|
|
|
public new BackupEndpointCollection this [string name] {
|
|
get { return (BackupEndpointCollection) BaseGet (name); }
|
|
}
|
|
}
|
|
}
|