mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
47 lines
1003 B
C#
47 lines
1003 B
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(NamespaceElement))]
|
|
public class NamespaceElementCollection : ConfigurationElementCollection
|
|
{
|
|
public void Add (NamespaceElement element)
|
|
{
|
|
BaseAdd (element);
|
|
}
|
|
|
|
public void Clear ()
|
|
{
|
|
BaseClear ();
|
|
}
|
|
|
|
protected override ConfigurationElement CreateNewElement ()
|
|
{
|
|
return new NamespaceElement ();
|
|
}
|
|
|
|
protected override object GetElementKey (ConfigurationElement element)
|
|
{
|
|
return ((NamespaceElement) element).Prefix;
|
|
}
|
|
|
|
public override bool IsReadOnly ()
|
|
{
|
|
return base.IsReadOnly ();
|
|
}
|
|
|
|
public void Remove (NamespaceElement element)
|
|
{
|
|
BaseRemove (element);
|
|
}
|
|
}
|
|
}
|