mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* XmlSerializer: Serialize() method Partially Implemented. svn path=/trunk/mcs/; revision=5478
67 lines
1.2 KiB
C#
67 lines
1.2 KiB
C#
//
|
|
// XmlAnyElementAttributes.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
using System.Collections;
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlAnyElementAttributes.
|
|
/// </summary>
|
|
public class XmlAnyElementAttributes : CollectionBase
|
|
{
|
|
|
|
public XmlAnyElementAttribute this[int index]
|
|
{
|
|
get
|
|
{
|
|
return (XmlAnyElementAttribute)List[index];
|
|
}
|
|
set
|
|
{
|
|
List[index] = value;
|
|
}
|
|
}
|
|
|
|
public int Add(XmlAnyElementAttribute attribute)
|
|
{
|
|
return List.Add(attribute);
|
|
}
|
|
|
|
public bool Contains(XmlAnyElementAttribute attribute)
|
|
{
|
|
return List.Contains(attribute);
|
|
}
|
|
|
|
public int IndexOf(XmlAnyElementAttribute attribute)
|
|
{
|
|
return List.IndexOf(attribute);
|
|
}
|
|
|
|
public void Insert(int index, XmlAnyElementAttribute attribute)
|
|
{
|
|
List.Insert(index, attribute);
|
|
}
|
|
|
|
public void Remove(XmlAnyElementAttribute attribute)
|
|
{
|
|
List.Remove(attribute);
|
|
}
|
|
|
|
public void CopyTo(XmlAnyElementAttribute[] array,int index)
|
|
{
|
|
List.CopyTo(array, index);
|
|
}
|
|
}
|
|
|
|
}
|