mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
implementing XmlAttributeCollection.Append(XmlAttribute) svn path=/trunk/mcs/; revision=7680
120 lines
2.3 KiB
C#
120 lines
2.3 KiB
C#
//
|
|
// System.Xml.XmlAttributeCollection
|
|
//
|
|
// Author:
|
|
// Jason Diamond ([email protected])
|
|
//
|
|
// (C) 2002 Jason Diamond http://injektilo.org/
|
|
//
|
|
|
|
using System;
|
|
using System.Collections;
|
|
|
|
namespace System.Xml
|
|
{
|
|
public class XmlAttributeCollection : XmlNamedNodeMap, ICollection
|
|
{
|
|
internal XmlAttributeCollection (XmlNode parent) : base (parent)
|
|
{
|
|
}
|
|
|
|
bool ICollection.IsSynchronized {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
|
|
public virtual XmlAttribute this [string name] {
|
|
get {
|
|
return (XmlAttribute) GetNamedItem (name);
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
|
|
public virtual XmlAttribute this [int i] {
|
|
get {
|
|
return (XmlAttribute) Nodes [i];
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
|
|
public virtual XmlAttribute this [string localName, string namespaceURI] {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
object ICollection.SyncRoot {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
|
|
public virtual XmlAttribute Append (XmlAttribute node)
|
|
{
|
|
XmlNode xmlNode = this.SetNamedItem (node);
|
|
return node;
|
|
}
|
|
|
|
[MonoTODO]
|
|
public void CopyTo (XmlAttribute [] array, int index)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
void ICollection.CopyTo (Array array, int index)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public virtual XmlAttribute InsertAfter (XmlAttribute newNode, XmlAttribute refNode)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public virtual XmlAttribute InsertBefore (XmlAttribute newNode, XmlAttribute refNode)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public virtual XmlAttribute Prepend (XmlAttribute node)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public virtual XmlAttribute Remove (XmlAttribute node)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
public virtual void RemoveAll ()
|
|
{
|
|
while (this.Count > 0)
|
|
base.RemoveNamedItem (this.Item (0).Name);
|
|
|
|
}
|
|
|
|
[MonoTODO]
|
|
public virtual XmlAttribute RemoveAt (int i)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override XmlNode SetNamedItem (XmlNode node)
|
|
{
|
|
return base.SetNamedItem (node);
|
|
}
|
|
}
|
|
}
|